Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
The fix is going back in. :)
  • Loading branch information
slouken committed Jan 25, 2005
1 parent e9db83b commit 420f394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/SDL_endian.h
Expand Up @@ -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__))
Expand Down

0 comments on commit 420f394

Please sign in to comment.