summaryrefslogtreecommitdiffstats
path: root/battlestar
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
parentfa213838b361bf110cedaa5fd78622fe38c911e2 (diff)
downloadbsdgames-darwin-623e5e8eddc42ee4e3cff7c418dc2d3d4e96193f.tar.gz
bsdgames-darwin-623e5e8eddc42ee4e3cff7c418dc2d3d4e96193f.tar.zst
bsdgames-darwin-623e5e8eddc42ee4e3cff7c418dc2d3d4e96193f.zip
Fix -Wsign-compare warnings.
Diffstat (limited to 'battlestar')
-rw-r--r--battlestar/com1.c6
-rw-r--r--battlestar/com4.c6
2 files changed, 6 insertions, 6 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++)
diff --git a/battlestar/com4.c b/battlestar/com4.c
index bbc41e49..addce416 100644
--- a/battlestar/com4.c
+++ b/battlestar/com4.c
@@ -1,4 +1,4 @@
-/* $NetBSD: com4.c,v 1.7 1999/02/10 01:36:50 hubertf Exp $ */
+/* $NetBSD: com4.c,v 1.8 1999/09/18 19:38:46 jsm Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)com4.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: com4.c,v 1.7 1999/02/10 01:36:50 hubertf Exp $");
+__RCSID("$NetBSD: com4.c,v 1.8 1999/09/18 19:38:46 jsm Exp $");
#endif
#endif /* not lint */
@@ -194,7 +194,7 @@ int
throw(name)
const char *name;
{
- int n;
+ unsigned int n;
int deposit = 0;
int first, value;