From 99df729634e832cb8b9ea08ac14591532c9a51bd Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 30 May 2011 03:11:15 +0000 Subject: Use consistent sign in compare, the function is only called with constants as third argument anyway. --- hack/extern.h | 4 ++-- hack/hack.mon.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'hack') 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 #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 @@ -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; -- cgit v1.2.3-56-ge451