mirror of
https://github.com/yawut/SDL.git
synced 2026-10-02 05:06:46 -05:00
Fixed type size for test_bit()
--HG-- branch : SDL-1.2
This commit is contained in:
@@ -371,7 +371,7 @@ static void LogicalSuffix(int logicalno, char* namebuf, int len)
|
||||
|
||||
#if SDL_INPUT_LINUXEV
|
||||
#define test_bit(nr, addr) \
|
||||
(((1UL << ((nr) & 31)) & (((const unsigned int *) addr)[(nr) >> 5])) != 0)
|
||||
(((1UL << ((nr) & 31)) & (((const Uint32 *) addr)[(nr) >> 5])) != 0)
|
||||
|
||||
static int EV_IsJoystick(int fd)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user