Mercurial > sdl-ios-xcode
changeset 3229:09172593e9b6
Fixed type size for test_bit()
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 02 Aug 2009 20:45:11 +0000 |
parents | 9ec661afdf5f |
children | 816a7a65a59a |
files | src/joystick/linux/SDL_sysjoystick.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/joystick/linux/SDL_sysjoystick.c Sun Aug 02 18:40:18 2009 +0000 +++ b/src/joystick/linux/SDL_sysjoystick.c Sun Aug 02 20:45:11 2009 +0000 @@ -363,7 +363,7 @@ #if SDL_INPUT_LINUXEV #define test_bit(nr, addr) \ - (((1UL << ((nr) & 31)) & (((const unsigned long *) addr)[(nr) >> 5])) != 0) + (((1UL << ((nr) & 31)) & (((const Uint32 *) addr)[(nr) >> 5])) != 0) static int EV_IsJoystick(int fd)