]> granicus.if.org Git - nethack/commitdiff
Revert "Fix compiler warnings."
authorBart House <bart@barthouse.com>
Mon, 15 Jul 2019 04:13:43 +0000 (21:13 -0700)
committerBart House <bart@barthouse.com>
Mon, 15 Jul 2019 04:13:43 +0000 (21:13 -0700)
This reverts commit 90f5aa91b794ad333fc04693677d0a7a9d8ca18e.

src/dungeon.c
src/sp_lev.c

index 0e483a11d91aa5a98a8bbd84f17bbeee6053b804..27b748104d5bd9c01625a6cbbe85479e8aa30e66 100644 (file)
@@ -2409,8 +2409,7 @@ recalc_mapseen()
     struct monst *mtmp;
     struct cemetery *bp, **bonesaddr;
     unsigned i, ridx;
-    int x, y, ltyp, count;
-    unsigned int atmp;
+    int x, y, ltyp, count, atmp;
 
     /* Should not happen in general, but possible if in the process
      * of being booted from the quest.  The mapseen object gets
index b2206ae704b296a63af5b1feaea3876c3ae1e9f2..dbab1dfdc3c6dbdfda8ccb6fc016cd4411087002 100644 (file)
@@ -3763,7 +3763,7 @@ struct opvar *mc;
 {
     int x, y;
     schar mapc;
-    uchar lit;
+    xchar lit;
     struct opvar *ret = selection_opvar((char *) 0);
 
     if (!ov || !mc || !ret)