Commit e0fc48cf authored by Sam Lantinga's avatar Sam Lantinga

Fixed type size for test_bit()

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403732
parent 7d38d7ef
......@@ -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)
{
......
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