diff --git a/byte/byte_copy.c b/byte/byte_copy.c index 95be5b4..e2f0737 100644 --- a/byte/byte_copy.c +++ b/byte/byte_copy.c @@ -5,7 +5,7 @@ void byte_copy(void* out, unsigned int len, const void* in) { register char* s=out; register const char* t=in; - register const char* u=in+len; + register const char* u=u+len; if (len>127) { if (sizeof(unsigned long)>4) { /* a good compiler should optimize this check away */ for (;(unsigned long)t&7;) {