Fix compiler warnings.

This commit is contained in:
Bart House
2019-07-13 09:52:56 -07:00
parent 64cc11d9b4
commit 90f5aa91b7
2 changed files with 3 additions and 2 deletions

View File

@@ -2409,7 +2409,8 @@ recalc_mapseen()
struct monst *mtmp; struct monst *mtmp;
struct cemetery *bp, **bonesaddr; struct cemetery *bp, **bonesaddr;
unsigned i, ridx; unsigned i, ridx;
int x, y, ltyp, count, atmp; int x, y, ltyp, count;
unsigned int atmp;
/* Should not happen in general, but possible if in the process /* Should not happen in general, but possible if in the process
* of being booted from the quest. The mapseen object gets * of being booted from the quest. The mapseen object gets

View File

@@ -3763,7 +3763,7 @@ struct opvar *mc;
{ {
int x, y; int x, y;
schar mapc; schar mapc;
xchar lit; uchar lit;
struct opvar *ret = selection_opvar((char *) 0); struct opvar *ret = selection_opvar((char *) 0);
if (!ov || !mc || !ret) if (!ov || !mc || !ret)