For sanity's sake, removed the '&' when passing copy_row array to asm.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 06 Jan 2006 13:20:10 +0000
changeset 1234 73676c1f56ee
parent 1233 228c94f0b5dc
child 1235 f60f6f4ffc6f
For sanity's sake, removed the '&' when passing copy_row array to asm.
src/video/SDL_stretch.c
--- a/src/video/SDL_stretch.c	Fri Jan 06 00:56:12 2006 +0000
+++ b/src/video/SDL_stretch.c	Fri Jan 06 13:20:10 2006 +0000
@@ -285,11 +285,11 @@
 			__asm__ __volatile__ (
 			"call *%4"
 			: "=&D" (u1), "=&S" (u2)
-			: "0" (dstp), "1" (srcp), "r" (&copy_row)
+			: "0" (dstp), "1" (srcp), "r" (copy_row)
 			: "memory" );
 #else
 #ifdef WIN32
-		{ void *code = &copy_row;
+		{ void *code = copy_row;
 			__asm {
 				push edi
 				push esi