- Fixed all the new warnings tossed out by GCC 4.3.

SVN r1047 (trunk)
This commit is contained in:
Randy Heit 2008-06-25 22:16:04 +00:00
commit bb689ba3c9
16 changed files with 42 additions and 30 deletions

View file

@ -98,7 +98,7 @@ static inline void SWAP_DOUBLE(double &dst, double &src)
}
#else
static inline WORD SWAP_WORD(WORD x) { return (((x)<<8) | ((x)>>8)); }
static inline DWORD SWAP_DWORD(DWORD x) { return x = (((x)>>24) | (((x)>>8)&0xff00) | ((x)<<8)&0xff0000 | ((x)<<24)); }
static inline DWORD SWAP_DWORD(DWORD x) { return x = (((x)>>24) | (((x)>>8)&0xff00) | (((x)<<8)&0xff0000) | ((x)<<24)); }
static inline QWORD SWAP_QWORD(QWORD x)
{
union { QWORD q; DWORD d[2]; } t, u;