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/hack.mon.c | |
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/hack.mon.c')
-rw-r--r-- | hack/hack.mon.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |