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 /mille | |
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 'mille')
-rw-r--r-- | mille/comp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mille/comp.c b/mille/comp.c index 02be40f7..531fffd9 100644 --- a/mille/comp.c +++ b/mille/comp.c @@ -1,4 +1,4 @@ -/* $NetBSD: comp.c,v 1.6 1999/09/08 21:17:50 jsm Exp $ */ +/* $NetBSD: comp.c,v 1.7 1999/09/18 19:38:52 jsm Exp $ */ /* * Copyright (c) 1982, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)comp.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: comp.c,v 1.6 1999/09/08 21:17:50 jsm Exp $"); +__RCSID("$NetBSD: comp.c,v 1.7 1999/09/18 19:38:52 jsm Exp $"); #endif #endif /* not lint */ @@ -194,7 +194,7 @@ redoit: diff = End - pp->mileage; /* avoid getting too close */ if (Topcard > Deck && cango && diff <= 100 - && diff / Value[card] > count[card] + && (int)diff / Value[card] > count[card] && (card == C_25 || diff % 50 == 0)) { if (card == C_50 && diff - 50 == 25 && count[C_25] > 0) |