# HG changeset patch # User Sam Lantinga <slouken@libsdl.org> # Date 1106675924 0 # Node ID aebfa3ce2a53271949d543c48a428f0f6e7afacb # Parent c1c2efca4548f08b2e554e48a893d2eb0cd869d8 The fix is going back in. :) diff -r c1c2efca4548 -r aebfa3ce2a53 include/SDL_endian.h --- a/include/SDL_endian.h Tue Jan 25 16:57:11 2005 +0000 +++ b/include/SDL_endian.h Tue Jan 25 17:58:44 2005 +0000 @@ -68,7 +68,7 @@ #elif defined(__GNUC__) && defined(__x86_64__) static __inline__ Uint16 SDL_Swap16(Uint16 x) { - __asm__("xchgb %b0,%h0" : "=q" (x) : "0" (x)); + __asm__("xchgb %b0,%h0" : "=Q" (x) : "0" (x)); return x; } #elif defined(__GNUC__) && (defined(__powerpc__) || defined(__ppc__))