Fixed BE32 macro to make sure it returns an unsigned int.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@363 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Maarten ter Huurne 2008-08-27 12:51:03 +00:00
parent a5d51aa2ce
commit 9b1ddfcc69

View file

@ -22,8 +22,8 @@ T __inline max(T a, T b)
}
#endif
#define BE16(x) (((x)[0]<<8) | (x)[1])
#define BE32(x) (((x)[0]<<24) | ((x)[1]<<16) | ((x)[2]<<8) | (x)[3])
#define BE16(x) ((u16((x)[0])<<8) | u16((x)[1]))
#define BE32(x) ((u32((x)[0])<<24) | (u32((x)[1])<<16) | (u32((x)[2])<<8) | u32((x)[3]))
class GCMemcard
{