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. --- cribbage/io.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cribbage/io.c') diff --git a/cribbage/io.c b/cribbage/io.c index 201e2db3..ef0740bf 100644 --- a/cribbage/io.c +++ b/cribbage/io.c @@ -1,4 +1,4 @@ -/* $NetBSD: io.c,v 1.12 1999/09/08 21:45:26 jsm Exp $ */ +/* $NetBSD: io.c,v 1.13 1999/09/18 19:38:48 jsm Exp $ */ /*- * Copyright (c) 1980, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)io.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: io.c,v 1.12 1999/09/08 21:45:26 jsm Exp $"); +__RCSID("$NetBSD: io.c,v 1.13 1999/09/18 19:38:48 jsm Exp $"); #endif #endif /* not lint */ @@ -498,7 +498,7 @@ do_wait() { static const char prompt[] = {'-', '-', 'M', 'o', 'r', 'e', '-', '-', '\0'}; - if (Mpos + sizeof prompt < MSG_X) + if ((int)(Mpos + sizeof prompt) < MSG_X) wmove(Msgwin, Lineno > 0 ? Lineno - 1 : MSG_Y - 1, Mpos); else { mvwaddch(Msgwin, Lineno, 0, ' '); -- cgit v1.2.3-56-ge451