summaryrefslogtreecommitdiffstats
path: root/mille
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2000-04-27 17:49:15 +0000
committerthorpej <thorpej@NetBSD.org>2000-04-27 17:49:15 +0000
commit9dda35120cdd8820806faf3e27ade797d274d33c (patch)
tree80eebdfb9abb7d568873b2dcab54f4af81233dbb /mille
parent53b9e53fc9ccf8c328fea8884f447e1ae6a3225c (diff)
downloadbsdgames-darwin-9dda35120cdd8820806faf3e27ade797d274d33c.tar.gz
bsdgames-darwin-9dda35120cdd8820806faf3e27ade797d274d33c.tar.zst
bsdgames-darwin-9dda35120cdd8820806faf3e27ade797d274d33c.zip
Cast pointer difference to long when printing w/ %ld.
Diffstat (limited to 'mille')
-rw-r--r--mille/print.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mille/print.c b/mille/print.c
index 937beaaa..4d0f71a7 100644
--- a/mille/print.c
+++ b/mille/print.c
@@ -1,4 +1,4 @@
-/* $NetBSD: print.c,v 1.9 2000/04/27 00:30:52 jdc Exp $ */
+/* $NetBSD: print.c,v 1.10 2000/04/27 17:49:15 thorpej Exp $ */
/*
* Copyright (c) 1982, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)print.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: print.c,v 1.9 2000/04/27 00:30:52 jdc Exp $");
+__RCSID("$NetBSD: print.c,v 1.10 2000/04/27 17:49:15 thorpej Exp $");
#endif
#endif /* not lint */
@@ -89,7 +89,7 @@ prboard()
pp = &Player[PLAYER];
for (i = 0; i < HAND_SZ; i++)
show_card(i + 6, temp, pp->hand[i], &pp->sh_hand[i]);
- mvprintw(6, COMP_STRT + CARD_STRT, "%2ld", Topcard - Deck);
+ mvprintw(6, COMP_STRT + CARD_STRT, "%2ld", (long)(Topcard - Deck));
show_card(8, COMP_STRT + CARD_STRT, Discard, &Sh_discard);
if (End == 1000) {
move(EXT_Y, EXT_X);