summaryrefslogtreecommitdiffstats
path: root/hack/hack.pri.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2008-01-28 06:55:41 +0000
committerdholland <dholland@NetBSD.org>2008-01-28 06:55:41 +0000
commitdfce1cca7e9f2a93d3246b5dba2113e20cbc447a (patch)
tree44b17315ece5b2f5ce5ec3ebea7e212a0525e0c3 /hack/hack.pri.c
parente0675e304b50073e40bf7b5d3bfc9ef7d7358ace (diff)
downloadbsdgames-darwin-dfce1cca7e9f2a93d3246b5dba2113e20cbc447a.tar.gz
bsdgames-darwin-dfce1cca7e9f2a93d3246b5dba2113e20cbc447a.tar.zst
bsdgames-darwin-dfce1cca7e9f2a93d3246b5dba2113e20cbc447a.zip
Make hack build with WARNS=4.
Diffstat (limited to 'hack/hack.pri.c')
-rw-r--r--hack/hack.pri.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hack/hack.pri.c b/hack/hack.pri.c
index d69dbd4a..70ef79d9 100644
--- a/hack/hack.pri.c
+++ b/hack/hack.pri.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hack.pri.c,v 1.8 2003/04/02 18:36:39 jsm Exp $ */
+/* $NetBSD: hack.pri.c,v 1.9 2008/01/28 06:55:42 dholland Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -63,7 +63,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hack.pri.c,v 1.8 2003/04/02 18:36:39 jsm Exp $");
+__RCSID("$NetBSD: hack.pri.c,v 1.9 2008/01/28 06:55:42 dholland Exp $");
#endif /* not lint */
#include "hack.h"
@@ -720,7 +720,7 @@ void
cornbot(lth)
int lth;
{
- if (lth < sizeof(oldbot)) {
+ if ((unsigned)lth < sizeof(oldbot)) {
oldbot[lth] = 0;
flags.botl = 1;
}