Commit 5c172c5a authored by Sam Lantinga's avatar Sam Lantinga

Fixed type size for test_bit()

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403731
parent 554dcb60
...@@ -363,7 +363,7 @@ LogicalSuffix(int logicalno, char *namebuf, int len) ...@@ -363,7 +363,7 @@ LogicalSuffix(int logicalno, char *namebuf, int len)
#if SDL_INPUT_LINUXEV #if SDL_INPUT_LINUXEV
#define test_bit(nr, addr) \ #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 static int
EV_IsJoystick(int fd) EV_IsJoystick(int fd)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment