Module Name: src Committed By: joerg Date: Mon May 30 03:11:15 UTC 2011
Modified Files: src/games/hack: extern.h hack.mon.c Log Message: Use consistent sign in compare, the function is only called with constants as third argument anyway. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/games/hack/extern.h cvs rdiff -u -r1.10 -r1.11 src/games/hack/hack.mon.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/games/hack/extern.h diff -u src/games/hack/extern.h:1.13 src/games/hack/extern.h:1.14 --- src/games/hack/extern.h:1.13 Wed Feb 3 15:34:38 2010 +++ src/games/hack/extern.h Mon May 30 03:11:15 2011 @@ -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 @@ /* 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); Index: src/games/hack/hack.mon.c diff -u src/games/hack/hack.mon.c:1.10 src/games/hack/hack.mon.c:1.11 --- src/games/hack/hack.mon.c:1.10 Wed Aug 12 07:28:41 2009 +++ src/games/hack/hack.mon.c Mon May 30 03:11:15 2011 @@ -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 @@ } 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;