Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

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

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

0 comments on commit 5d2c09e

Please sign in to comment.