]> granicus.if.org Git - nethack/commitdiff
Fix compiler warning.
authorBart House <bhouse@ntdev.microsoft.com>
Sun, 18 Oct 2020 23:13:52 +0000 (16:13 -0700)
committerBart House <bart@barthouse.com>
Mon, 19 Oct 2020 23:20:49 +0000 (16:20 -0700)
src/sp_lev.c

index c469d974733ffbc20de4173440e7b4e5b9c61973..f3e2fe1a3aaa0ca630e812b05d924a525bfa05b0 100755 (executable)
@@ -4393,7 +4393,7 @@ int lit;
                     break;
                 case 0:
                 case 1:
-                    if (levl[x][y].lit == lit)
+                    if (levl[x][y].lit == (unsigned int) lit)
                         selection_setpoint(x, y, ret, 1);
                     break;
                 }