summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/drawgfx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/drawgfx.c')
-rw-r--r--src/emu/drawgfx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/drawgfx.c b/src/emu/drawgfx.c
index 89a9f3231ea..43f7b184354 100644
--- a/src/emu/drawgfx.c
+++ b/src/emu/drawgfx.c
@@ -82,7 +82,7 @@ INLINE void write_dword(void *address, UINT32 data)
offset
-------------------------------------------------*/
-INLINE int readbit(const UINT8 *src, int bitnum)
+INLINE int readbit(const UINT8 *src, unsigned int bitnum)
{
return src[bitnum / 8] & (0x80 >> (bitnum % 8));
}