diff options
author | jsm <jsm@NetBSD.org> | 1999-09-18 19:38:46 +0000 |
---|---|---|
committer | jsm <jsm@NetBSD.org> | 1999-09-18 19:38:46 +0000 |
commit | 623e5e8eddc42ee4e3cff7c418dc2d3d4e96193f (patch) | |
tree | 75e04a7aee754535f179cbf6b43570d46e5e75e7 /cribbage/io.c | |
parent | fa213838b361bf110cedaa5fd78622fe38c911e2 (diff) | |
download | bsdgames-darwin-623e5e8eddc42ee4e3cff7c418dc2d3d4e96193f.tar.gz bsdgames-darwin-623e5e8eddc42ee4e3cff7c418dc2d3d4e96193f.tar.zst bsdgames-darwin-623e5e8eddc42ee4e3cff7c418dc2d3d4e96193f.zip |
Fix -Wsign-compare warnings.
Diffstat (limited to 'cribbage/io.c')
-rw-r--r-- | cribbage/io.c | 6 |
1 files changed, 3 insertions, 3 deletions
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, ' '); |