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 123473676c1f56ee
parent 1233 228c94f0b5dc
child 1235 f60f6f4ffc6f
For sanity's sake, removed the '&' when passing copy_row array to asm.
src/video/SDL_stretch.c
     1.1 --- a/src/video/SDL_stretch.c	Fri Jan 06 00:56:12 2006 +0000
     1.2 +++ b/src/video/SDL_stretch.c	Fri Jan 06 13:20:10 2006 +0000
     1.3 @@ -285,11 +285,11 @@
     1.4  			__asm__ __volatile__ (
     1.5  			"call *%4"
     1.6  			: "=&D" (u1), "=&S" (u2)
     1.7 -			: "0" (dstp), "1" (srcp), "r" (&copy_row)
     1.8 +			: "0" (dstp), "1" (srcp), "r" (copy_row)
     1.9  			: "memory" );
    1.10  #else
    1.11  #ifdef WIN32
    1.12 -		{ void *code = &copy_row;
    1.13 +		{ void *code = copy_row;
    1.14  			__asm {
    1.15  				push edi
    1.16  				push esi