From dfce1cca7e9f2a93d3246b5dba2113e20cbc447a Mon Sep 17 00:00:00 2001 From: dholland Date: Mon, 28 Jan 2008 06:55:41 +0000 Subject: Make hack build with WARNS=4. --- hack/hack.pri.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hack/hack.pri.c') 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 #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; } -- cgit v1.2.3-56-ge451