diff options
author | dholland <dholland@NetBSD.org> | 2008-01-28 06:16:13 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2008-01-28 06:16:13 +0000 |
commit | d9e06af0170971fa7c14eddc67a9b07fafea7dde (patch) | |
tree | 77227527f3289a28b25db878cc4a60f370321adb /monop/cards.c | |
parent | 41058b6ea0386b49a8c5d57d215a75e6230d9cab (diff) | |
download | bsdgames-darwin-d9e06af0170971fa7c14eddc67a9b07fafea7dde.tar.gz bsdgames-darwin-d9e06af0170971fa7c14eddc67a9b07fafea7dde.tar.zst bsdgames-darwin-d9e06af0170971fa7c14eddc67a9b07fafea7dde.zip |
Make this build with WARNS=4.
Diffstat (limited to 'monop/cards.c')
-rw-r--r-- | monop/cards.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/monop/cards.c b/monop/cards.c index cd0e2362..e3778f02 100644 --- a/monop/cards.c +++ b/monop/cards.c @@ -1,4 +1,4 @@ -/* $NetBSD: cards.c,v 1.14 2004/01/27 20:30:30 jsm Exp $ */ +/* $NetBSD: cards.c,v 1.15 2008/01/28 06:16:13 dholland 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.14 2004/01/27 20:30:30 jsm Exp $"); +__RCSID("$NetBSD: cards.c,v 1.15 2008/01/28 06:16:13 dholland Exp $"); #endif #endif /* not lint */ @@ -101,7 +101,7 @@ set_up(dp) if (dp->offsets == NULL) errx(1, "out of memory"); if (fread(dp->offsets, sizeof(off_t), dp->num_cards, deckf) != - dp->num_cards) { + (unsigned) dp->num_cards) { perror(cardfile); exit(1); } |