From 29490e84583fc0c4473008066fc2838ac8314206 Mon Sep 17 00:00:00 2001 From: leitner Date: Wed, 14 Aug 2002 16:00:02 +0000 Subject: [PATCH] I need more sleep --- byte/byte_copy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/byte/byte_copy.c b/byte/byte_copy.c index 4c3084e..26c01a8 100644 --- a/byte/byte_copy.c +++ b/byte/byte_copy.c @@ -7,8 +7,9 @@ void byte_copy(void* out, unsigned int len, const void* in) { register const char* t=in; register const char* u=t+len; if (len>127) { - while ((unsigned long)s&(sizeof(unsigned long)-1)) + while ((unsigned long)s&(sizeof(unsigned long)-1)) { if (t==u) break; *s=*t; ++s; ++t; + } /* s (destination) is now unsigned long aligned */ #ifndef __i386__ if (!((unsigned long)t&(sizeof(unsigned long)-1)))