summaryrefslogtreecommitdiff
path: root/gfx.c
diff options
context:
space:
mode:
Diffstat (limited to 'gfx.c')
-rw-r--r--gfx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx.c b/gfx.c
index bc28816c1..bc9c6eea1 100644
--- a/gfx.c
+++ b/gfx.c
@@ -1684,7 +1684,7 @@ void DrawMouseCursor(void)
_cursor.draw_pos.y = y;
_cursor.draw_size.y = h;
- assert(w*h < sizeof(_cursor_backup));
+ assert(w*h < (int) sizeof(_cursor_backup));
// Make backup of stuff below cursor
memcpy_pitch(