Skip to content

Commit

Permalink
Fixed type size for test_bit()
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Aug 2, 2009
1 parent f4995c3 commit 5487e2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/joystick/linux/SDL_sysjoystick.c
Expand Up @@ -371,7 +371,7 @@ static void LogicalSuffix(int logicalno, char* namebuf, int len)

#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)
{
Expand Down

0 comments on commit 5487e2b

Please sign in to comment.