summaryrefslogtreecommitdiff
path: root/console_cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'console_cmds.c')
-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 */