include/SDL_endian.h
changeset 1026 0f3aa6ab3341
parent 994 c4e5473672b6
child 1031 3cf036d8861f
--- a/include/SDL_endian.h	Sat Jan 08 23:13:01 2005 +0000
+++ b/include/SDL_endian.h	Wed Jan 12 06:04:48 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__))