From dfce1cca7e9f2a93d3246b5dba2113e20cbc447a Mon Sep 17 00:00:00 2001 From: dholland Date: Mon, 28 Jan 2008 06:55:41 +0000 Subject: Make hack build with WARNS=4. --- hack/hack.do_name.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'hack/hack.do_name.c') diff --git a/hack/hack.do_name.c b/hack/hack.do_name.c index 58a309a2..727be31f 100644 --- a/hack/hack.do_name.c +++ b/hack/hack.do_name.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.do_name.c,v 1.6 2003/04/02 18:36:36 jsm Exp $ */ +/* $NetBSD: hack.do_name.c,v 1.7 2008/01/28 06:55:41 dholland Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -63,7 +63,7 @@ #include #ifndef lint -__RCSID("$NetBSD: hack.do_name.c,v 1.6 2003/04/02 18:36:36 jsm Exp $"); +__RCSID("$NetBSD: hack.do_name.c,v 1.7 2008/01/28 06:55:41 dholland Exp $"); #endif /* not lint */ #include @@ -116,7 +116,8 @@ do_mname() { char buf[BUFSZ]; coord cc; - int cx, cy, lth, i; + int cx, cy, lth; + unsigned i; struct monst *mtmp, *mtmp2; cc = getpos(0, "the monster you want to name"); cx = cc.x; -- cgit v1.2.3-56-ge451