From 420f394f053537896824fc3021adab19a66661c2 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 25 Jan 2005 17:58:44 +0000 Subject: [PATCH] The fix is going back in. :) --- include/SDL_endian.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL_endian.h b/include/SDL_endian.h index 6fe37460f..327fe1791 100644 --- a/include/SDL_endian.h +++ b/include/SDL_endian.h @@ -68,7 +68,7 @@ static __inline__ Uint16 SDL_Swap16(Uint16 x) #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__))