Mercurial > sdl-ios-xcode
changeset 4181:cc865a058a0c SDL-1.2
Fixed type size for test_bit()
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 02 Aug 2009 20:45:40 +0000 |
parents | 0a9a29fc00c2 |
children | 6512a61c2c73 |
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 Wed Jul 01 19:06:31 2009 +0000 +++ b/src/joystick/linux/SDL_sysjoystick.c Sun Aug 02 20:45:40 2009 +0000 @@ -371,7 +371,7 @@ #if SDL_INPUT_LINUXEV #define test_bit(nr, addr) \ - (((1UL << ((nr) & 31)) & (((const unsigned int *) addr)[(nr) >> 5])) != 0) + (((1UL << ((nr) & 31)) & (((const Uint32 *) addr)[(nr) >> 5])) != 0) static int EV_IsJoystick(int fd) {