Squash a compiler warning.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 26 Jun 2017 16:15:55 +0000 (12:15 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 26 Jun 2017 16:15:55 +0000 (12:15 -0400)
main.c

diff --git a/main.c b/main.c
index a8fbfc35c1239b6e4f4e563957189ce47e46e8ec..66ad24707d752ebe0bc0a2490bec5fd112bf3518 100644 (file)
--- a/main.c
+++ b/main.c
@@ -417,7 +417,7 @@ static bool dwarfmove(void)
         if (game.dloc[i] == 0)
             continue;
         /*  Fill tk array with all the places this dwarf might go. */
-        int j = 1;
+        unsigned int j = 1;
         kk = TKEY[game.dloc[i]];
         if (kk != 0)
             do {