summaryrefslogtreecommitdiff
path: root/games/larn/data.c
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1997-04-01 16:01:00 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1997-04-01 16:01:00 +0000
commit7366db9b89af05935c6bf0ff78d21d60eb92eb28 (patch)
tree2f1ef273cc0d940adcffb790145a825f34d80d78 /games/larn/data.c
parentd45211f42554922c1afd8c51b8449246222f16b4 (diff)
Changes from NetBSD to compile games without warnings due to short being
unsigned on some archs, PowerPC, ROMP.
Diffstat (limited to 'games/larn/data.c')
-rw-r--r--games/larn/data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/larn/data.c b/games/larn/data.c
index e0e7d43fa43..0bc9fe97513 100644
--- a/games/larn/data.c
+++ b/games/larn/data.c
@@ -142,7 +142,7 @@ char sex=1; /* default is a man 0=woman */
char boldon=1; /* 1=bold objects 0=inverse objects */
char ckpflag=0; /* 1 if want checkpointing of game, 0 otherwise */
char cheat=0; /* 1 if the player has fudged save file */
-char level=0; /* cavelevel player is on = c[CAVELEVEL] */
+short level=0; /* cavelevel player is on = c[CAVELEVEL] */
char wizard=0; /* the wizard mode flag */
short lastnum=0; /* the number of the monster last hitting player */
short hitflag=0; /* flag for if player has been hit when running */