Fixed type size for test_bit()

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403731
This commit is contained in:
Sam Lantinga 2009-08-02 20:45:11 +00:00
parent 554dcb60df
commit 5c172c5af8

View File

@ -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)