summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.read.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/hack/hack.read.c')
-rw-r--r--games/hack/hack.read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/hack/hack.read.c b/games/hack/hack.read.c
index 3c81d93..c0175d1 100644
--- a/games/hack/hack.read.c
+++ b/games/hack/hack.read.c
@@ -280,7 +280,7 @@ doread() {
docrt();
break;
case SCR_FOOD_DETECTION:
- { ct = 0, ctu = 0;
+ { int ct = 0, ctu = 0;
struct obj *obj;
char foodsym = confused ? POTION_SYM : FOOD_SYM;
@@ -448,7 +448,7 @@ struct obj *otmp;
litroom(on)
boolean on;
{
- num,zx,zy;
+ int num,zx,zy;
/* first produce the text (provided he is not blind) */
if(Blind) goto do_it;
OpenPOWER on IntegriCloud