changeset 1033:aebfa3ce2a53

The fix is going back in. :)
author Sam Lantinga <slouken@libsdl.org>
date Tue, 25 Jan 2005 17:58:44 +0000
parents c1c2efca4548
children 2eca15c3f609
files include/SDL_endian.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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__))