summaryrefslogtreecommitdiff
path: root/games/mille/move.c
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1997-04-01 16:01:00 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1997-04-01 16:01:00 +0000
commit7366db9b89af05935c6bf0ff78d21d60eb92eb28 (patch)
tree2f1ef273cc0d940adcffb790145a825f34d80d78 /games/mille/move.c
parentd45211f42554922c1afd8c51b8449246222f16b4 (diff)
Changes from NetBSD to compile games without warnings due to short being
unsigned on some archs, PowerPC, ROMP.
Diffstat (limited to 'games/mille/move.c')
-rw-r--r--games/mille/move.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/mille/move.c b/games/mille/move.c
index c7c1a007a83..d05befb82b8 100644
--- a/games/mille/move.c
+++ b/games/mille/move.c
@@ -339,7 +339,7 @@ protected:
if (pp == &Player[PLAYER])
account(card);
pp->hand[Card_no] = C_INIT;
- Next = (Next == -1 ? FALSE : TRUE);
+ Next = (Next == (bool)-1 ? FALSE : TRUE);
return TRUE;
}