include/SDL_endian.h
changeset 1033 aebfa3ce2a53
parent 1031 3cf036d8861f
child 1044 d36ea7925763
     1.1 --- a/include/SDL_endian.h	Tue Jan 25 16:57:11 2005 +0000
     1.2 +++ b/include/SDL_endian.h	Tue Jan 25 17:58:44 2005 +0000
     1.3 @@ -68,7 +68,7 @@
     1.4  #elif defined(__GNUC__) && defined(__x86_64__)
     1.5  static __inline__ Uint16 SDL_Swap16(Uint16 x)
     1.6  {
     1.7 -	__asm__("xchgb %b0,%h0" : "=q" (x) :  "0" (x));
     1.8 +	__asm__("xchgb %b0,%h0" : "=Q" (x) :  "0" (x));
     1.9  	return x;
    1.10  }
    1.11  #elif defined(__GNUC__) && (defined(__powerpc__) || defined(__ppc__))