diff options
author | joerg <joerg@NetBSD.org> | 2011-05-30 03:11:15 +0000 |
---|---|---|
committer | joerg <joerg@NetBSD.org> | 2011-05-30 03:11:15 +0000 |
commit | 99df729634e832cb8b9ea08ac14591532c9a51bd (patch) | |
tree | 84cd3c6f4f74a12630f4227c2ddd774023c19888 /hack | |
parent | 442dc26bedaa4eead45edc2aa31a66f743544aff (diff) | |
download | bsdgames-darwin-99df729634e832cb8b9ea08ac14591532c9a51bd.tar.gz bsdgames-darwin-99df729634e832cb8b9ea08ac14591532c9a51bd.tar.zst bsdgames-darwin-99df729634e832cb8b9ea08ac14591532c9a51bd.zip |
Use consistent sign in compare, the function is only called with
constants as third argument anyway.
Diffstat (limited to 'hack')
-rw-r--r-- | hack/extern.h | 4 | ||||
-rw-r--r-- | hack/hack.mon.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/hack/extern.h b/hack/extern.h index fe8bdfc5..58fbf111 100644 --- a/hack/extern.h +++ b/hack/extern.h @@ -1,4 +1,4 @@ -/* $NetBSD: extern.h,v 1.13 2010/02/03 15:34:38 roy Exp $ */ +/* $NetBSD: extern.h,v 1.14 2011/05/30 03:11:15 joerg Exp $ */ /*- * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -249,7 +249,7 @@ void mkswamp(void); /* hack.mon.c */ void movemon(void); void justswld(struct monst *, const char *); -void youswld(struct monst *, int, int, const char *); +void youswld(struct monst *, int, unsigned int, const char *); int dochug(struct monst *); int m_move(struct monst *, int); int mfndpos(struct monst *, coord[9 ], int[9 ], int); diff --git a/hack/hack.mon.c b/hack/hack.mon.c index cea68bf0..9f6e7e97 100644 --- a/hack/hack.mon.c +++ b/hack/hack.mon.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.mon.c,v 1.10 2009/08/12 07:28:41 dholland Exp $ */ +/* $NetBSD: hack.mon.c,v 1.11 2011/05/30 03:11:15 joerg Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -63,7 +63,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: hack.mon.c,v 1.10 2009/08/12 07:28:41 dholland Exp $"); +__RCSID("$NetBSD: hack.mon.c,v 1.11 2011/05/30 03:11:15 joerg Exp $"); #endif /* not lint */ #include <stdlib.h> @@ -196,7 +196,7 @@ justswld(struct monst *mtmp, const char *name) } void -youswld(struct monst *mtmp, int dam, int die, const char *name) +youswld(struct monst *mtmp, int dam, unsigned int die, const char *name) { if (mtmp != u.ustuck) return; |