From a1663d6650053eee5e43a1267a05578a920521da Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Wed, 25 Apr 2018 19:24:06 +0100 Subject: C89 build fixes. Recent changes introduced a couple of non-C89-compatible mixed declarations and code. --- filling.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'filling.c') diff --git a/filling.c b/filling.c index db6f95d..37090a0 100644 --- a/filling.c +++ b/filling.c @@ -1289,10 +1289,10 @@ static const char *validate_desc(const game_params *params, const char *desc) static key_label *game_request_keys(const game_params *params, int *nkeys) { + int i; key_label *keys = snewn(11, key_label); - *nkeys = 11; - int i; + *nkeys = 11; for(i = 0; i < 10; ++i) { -- cgit v1.1