mirror of
https://github.com/joel16/SDL2.git
synced 2025-01-22 11:24:41 +00:00
Fixed type size for test_bit()
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403731
This commit is contained in:
parent
554dcb60df
commit
5c172c5af8
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user