summaryrefslogtreecommitdiff
path: root/gfx.c
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2005-01-23 23:58:35 +0000
committerdominik <dominik@openttd.org>2005-01-23 23:58:35 +0000
commit29e0ded97786a26acf3ce950d3c497e940d8c671 (patch)
treeccc30bedd6ad1caed0ed2cac2e9686b391436ee0 /gfx.c
parent69122234445b477d19b69f56c83214650d04e877 (diff)
downloadopenttd-29e0ded97786a26acf3ce950d3c497e940d8c671.tar.xz
(svn r1631) A couple of fixes for the signed/unsigned warnings. Only train_cmd.c remains to need fixing...
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(