From 6704c358ce1269d55783b167136fd72a18c51ef0 Mon Sep 17 00:00:00 2001 From: John Zaitseff Date: Fri, 22 Jul 2011 13:07:14 +1000 Subject: [PATCH] Make compiler quieter about signed and unsigned comparisons --- src/move.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/move.c b/src/move.c index 3f31c94..afdfb65 100644 --- a/src/move.c +++ b/src/move.c @@ -1030,7 +1030,7 @@ void adjust_values (void) for (x = 0; x < MAX_X; x++) { for (y = 0; y < MAX_Y; y++) { - if (galaxy_map[x][y] == COMPANY_TO_MAP(which)) { + if (galaxy_map[x][y] == COMPANY_TO_MAP((unsigned int) which)) { galaxy_map[x][y] = MAP_EMPTY; } }