diff options
author | christos <christos@NetBSD.org> | 2008-02-24 03:56:48 +0000 |
---|---|---|
committer | christos <christos@NetBSD.org> | 2008-02-24 03:56:48 +0000 |
commit | e68df2be2d86409745cee75571833732bdd20c9a (patch) | |
tree | 702eaa3434801a1d6f30e0fa476d3f2c043f7f03 /monop/execute.c | |
parent | 1df189f3144276793f0666e09654ef16a7f8ca13 (diff) | |
download | bsdgames-darwin-e68df2be2d86409745cee75571833732bdd20c9a.tar.gz bsdgames-darwin-e68df2be2d86409745cee75571833732bdd20c9a.tar.zst bsdgames-darwin-e68df2be2d86409745cee75571833732bdd20c9a.zip |
fix some lint
Diffstat (limited to 'monop/execute.c')
-rw-r--r-- | monop/execute.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/monop/execute.c b/monop/execute.c index e3231c21..9cace327 100644 --- a/monop/execute.c +++ b/monop/execute.c @@ -1,4 +1,4 @@ -/* $NetBSD: execute.c,v 1.18 2008/02/24 02:43:18 dholland Exp $ */ +/* $NetBSD: execute.c,v 1.19 2008/02/24 03:56:48 christos Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)execute.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: execute.c,v 1.18 2008/02/24 02:43:18 dholland Exp $"); +__RCSID("$NetBSD: execute.c,v 1.19 2008/02/24 03:56:48 christos Exp $"); #endif #endif /* not lint */ @@ -426,7 +426,7 @@ static enum { RI_NONE, RI_PLAYER, RI_DECK, - RI_SQUARE, + RI_SQUARE } restore_item; static int restore_itemnum; @@ -525,7 +525,7 @@ restore_toplevel_attr(const char *attribute, char *txt) printf("numplayers: multiple settings\n"); return -1; } - play = calloc(num_play, sizeof(play[0])); + play = calloc((size_t)num_play, sizeof(play[0])); if (play == NULL) { err(1, "calloc"); } |