summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2005-01-04 16:04:28 +0000
committerdarkvater <darkvater@openttd.org>2005-01-04 16:04:28 +0000
commit9e7aafe8340eeddae640d638ac3538552c080bbd (patch)
tree00ba2bfadacbb0d7114b76f3ee4b0f93fb32d6d8
parent30433c332ceabc714f491464bc803ab0e38b0efb (diff)
downloadopenttd-9e7aafe8340eeddae640d638ac3538552c080bbd.tar.xz
(svn r1373) -Fix: compilation fix for windows
-rw-r--r--console_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console_cmds.c b/console_cmds.c
index 176e2731c..f8077e56a 100644
--- a/console_cmds.c
+++ b/console_cmds.c
@@ -150,7 +150,7 @@ static void LoadMap(uint no)
BuildFileList();
/* Check if in range */
- if (no != 0 && no <= _fios_num) {
+ if (no != 0 && no <= (uint)_fios_num) {
const FiosItem *item = &_fios_list[no - 1];
/* Load the file */