include/SDL_endian.h
changeset 994 c4e5473672b6
parent 985 cec525374267
child 1026 0f3aa6ab3341
     1.1 --- a/include/SDL_endian.h	Sat Nov 27 21:28:49 2004 +0000
     1.2 +++ b/include/SDL_endian.h	Sat Nov 27 23:11:20 2004 +0000
     1.3 @@ -114,9 +114,9 @@
     1.4  	return result;
     1.5  }
     1.6  #elif defined(__GNUC__) && defined(__M68000__)
     1.7 -static __inline__ Uint16 SDL_Swap32(Uint16 x)
     1.8 +static __inline__ Uint32 SDL_Swap32(Uint32 x)
     1.9  {
    1.10 -	__asm__("rorw	#8,%0;\t\nswap	%0;\t\nror	#8,%0" : "=d" (x) :  "0" (x) : "cc");
    1.11 +	__asm__("rorw	#8,%0\n\tswap	%0\n\tror	#8,%0" : "=d" (x) :  "0" (x) : "cc");
    1.12  	return x;
    1.13  }
    1.14  #else