$NetBSD: patch-ad,v 1.1 2006/06/30 22:22:58 wiz Exp $ --- biewlib/sysdep/ia32/aclib_template.c.orig 2002-12-13 15:31:20.000000000 +0000 +++ biewlib/sysdep/ia32/aclib_template.c @@ -209,8 +209,8 @@ static void * RENAME(fast_memcpy)(void * MOVNTQ" %%mm6, 48(%1)\n" MOVNTQ" %%mm7, 56(%1)\n" :: "r" (from), "r" (to) : "memory"); - ((const unsigned char *)from)+=64; - ((unsigned char *)to)+=64; + from = ((const unsigned char *)from)+64; + to = ((unsigned char *)to)+64; } // Pure Assembly cuz gcc is a bit unpredictable ;) @@ -297,8 +297,8 @@ static void * RENAME(fast_memcpy)(void * MOVNTQ" %%mm6, 48(%1)\n" MOVNTQ" %%mm7, 56(%1)\n" :: "r" (from), "r" (to) : "memory"); - ((const unsigned char *)from)+=64; - ((unsigned char *)to)+=64; + from = ((const unsigned char *)from)+64; + to = ((unsigned char *)to)+64; } #endif /* Have SSE */ @@ -393,7 +393,7 @@ static void * RENAME(fast_memset)(void * MOVNTQ" %%mm0, 112(%0)\n" MOVNTQ" %%mm0, 120(%0)\n" :: "r" (to) : "memory"); - ((unsigned char *)to)+=128; + to = ((unsigned char *)to)+128; } #endif /* Have SSE */ #ifdef HAVE_MMX2