See http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg10340.html Credit goes to Andreas Jochens ============================================================================ --- sdlstretchcode.c_orig 2009-02-19 11:37:35.000000000 -0500 +++ sdlstretchcode.c 2009-02-19 11:53:22.000000000 -0500 @@ -58,14 +58,8 @@ # define SKIP_1BYTE(dst) { *dst++ = 0x46; } # define SKIP_2BYTe(dst) { *dst++ = 0x46; *dst++ = 0x46; } # define SKIP_3BYTE(dst) { *dst++ = 0x46; *dst++ = 0x46; *dst++ = 0x46; } -# ifndef __GNUC__ -# define LOAD_2BYTE(dst) LOAD_2BYTe(dst) -# define STORE_2BYTE(dst) STORE_2BYTe(dst) -# else -# define LOAD_2BYTE(dst) { *((unsigned short*)(dst))++ = 0xAD66; } -# define SKIP_2BYTE(dst) { *((unsigned short*)(dst))++ = 0x4646; } -# define STORE_2BYTE(dst) { *((unsigned short*)(dst))++ = 0xAB66; } -# endif +# define LOAD_2BYTE(dst) LOAD_2BYTe(dst) +# define STORE_2BYTE(dst) STORE_2BYTe(dst) #ifndef SKIP_1BYTE #define SKIP_1BYTE(dst) LOAD_1BYTE(dst)