summaryrefslogtreecommitdiffstats
path: root/monop/cards.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2008-02-24 03:56:48 +0000
committerchristos <christos@NetBSD.org>2008-02-24 03:56:48 +0000
commite68df2be2d86409745cee75571833732bdd20c9a (patch)
tree702eaa3434801a1d6f30e0fa476d3f2c043f7f03 /monop/cards.c
parent1df189f3144276793f0666e09654ef16a7f8ca13 (diff)
downloadbsdgames-darwin-e68df2be2d86409745cee75571833732bdd20c9a.tar.gz
bsdgames-darwin-e68df2be2d86409745cee75571833732bdd20c9a.tar.zst
bsdgames-darwin-e68df2be2d86409745cee75571833732bdd20c9a.zip
fix some lint
Diffstat (limited to 'monop/cards.c')
-rw-r--r--monop/cards.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/monop/cards.c b/monop/cards.c
index 0494122b..6dbbd463 100644
--- a/monop/cards.c
+++ b/monop/cards.c
@@ -1,4 +1,4 @@
-/* $NetBSD: cards.c,v 1.22 2008/02/24 02:43:18 dholland Exp $ */
+/* $NetBSD: cards.c,v 1.23 2008/02/24 03:56:48 christos Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)cards.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: cards.c,v 1.22 2008/02/24 02:43:18 dholland Exp $");
+__RCSID("$NetBSD: cards.c,v 1.23 2008/02/24 03:56:48 christos Exp $");
#endif
#endif /* not lint */
@@ -210,7 +210,7 @@ set_up(dp)
int r1, r2;
int i;
- dp->cards = calloc(dp->num_cards, sizeof(dp->cards[0]));
+ dp->cards = calloc((size_t)dp->num_cards, sizeof(dp->cards[0]));
if (dp->cards == NULL)
errx(1, "out of memory");
@@ -365,7 +365,7 @@ ret_card(plr)
int gojfpos, last_card;
int i;
DECK *dp;
- off_t temp;
+ int temp;
plr->num_gojf--;
if (CC_D.gojf_used)