Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed type size for test_bit()

  • Loading branch information
slouken committed Aug 2, 2009
1 parent 7493823 commit 5d2c09e856c19dd3c045378d0d5eae6ed870185d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/joystick/linux/SDL_sysjoystick.c
@@ -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)

0 comments on commit 5d2c09e

Please sign in to comment.