changeset 1234:73676c1f56ee

For sanity's sake, removed the '&' when passing copy_row array to asm.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 06 Jan 2006 13:20:10 +0000
parents 228c94f0b5dc
children f60f6f4ffc6f
files src/video/SDL_stretch.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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