From 623e5e8eddc42ee4e3cff7c418dc2d3d4e96193f Mon Sep 17 00:00:00 2001 From: jsm Date: Sat, 18 Sep 1999 19:38:46 +0000 Subject: Fix -Wsign-compare warnings. --- boggle/boggle/bog.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'boggle') diff --git a/boggle/boggle/bog.c b/boggle/boggle/bog.c index b4abde3b..125415a7 100644 --- a/boggle/boggle/bog.c +++ b/boggle/boggle/bog.c @@ -1,4 +1,4 @@ -/* $NetBSD: bog.c,v 1.13 1999/09/17 17:07:11 jsm Exp $ */ +/* $NetBSD: bog.c,v 1.14 1999/09/18 19:38:48 jsm Exp $ */ /*- * Copyright (c) 1993 @@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1993\n\ #if 0 static char sccsid[] = "@(#)bog.c 8.2 (Berkeley) 5/4/95"; #else -__RCSID("$NetBSD: bog.c,v 1.13 1999/09/17 17:07:11 jsm Exp $"); +__RCSID("$NetBSD: bog.c,v 1.14 1999/09/18 19:38:48 jsm Exp $"); #endif #endif /* not lint */ @@ -340,7 +340,7 @@ playgame() showstr(buf, 1); continue; } - if (strlen(buf) < minlength) { + if (strlen(buf) < (size_t)minlength) { badword(); continue; } -- cgit v1.2.3