summaryrefslogtreecommitdiffstats
path: root/battlestar/com1.c
diff options
context:
space:
mode:
authorjsm <jsm@NetBSD.org>1999-09-18 19:38:46 +0000
committerjsm <jsm@NetBSD.org>1999-09-18 19:38:46 +0000
commit623e5e8eddc42ee4e3cff7c418dc2d3d4e96193f (patch)
tree75e04a7aee754535f179cbf6b43570d46e5e75e7 /battlestar/com1.c
parentfa213838b361bf110cedaa5fd78622fe38c911e2 (diff)
downloadbsdgames-darwin-623e5e8eddc42ee4e3cff7c418dc2d3d4e96193f.tar.gz
bsdgames-darwin-623e5e8eddc42ee4e3cff7c418dc2d3d4e96193f.zip
Fix -Wsign-compare warnings.
Diffstat (limited to 'battlestar/com1.c')
-rw-r--r--battlestar/com1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/battlestar/com1.c b/battlestar/com1.c
index 4ddebc57..5111236a 100644
--- a/battlestar/com1.c
+++ b/battlestar/com1.c
@@ -1,4 +1,4 @@
-/* $NetBSD: com1.c,v 1.8 1999/07/14 17:42:13 hubertf Exp $ */
+/* $NetBSD: com1.c,v 1.9 1999/09/18 19:38:46 jsm Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)com1.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: com1.c,v 1.8 1999/07/14 17:42:13 hubertf Exp $");
+__RCSID("$NetBSD: com1.c,v 1.9 1999/09/18 19:38:46 jsm Exp $");
#endif
#endif /* not lint */
@@ -76,7 +76,7 @@ convert(tothis) /* Converts day to night and vice versa. */
* are added */
{ /* at dusk, and subtracted at dawn. */
const struct objs *p;
- int i, j;
+ unsigned int i, j;
if (tothis == TONIGHT) {
for (i = 1; i <= NUMOFROOMS; i++)