diff options
| author | Simon Tatham <anakin@pobox.com> | 2018-04-25 19:24:06 +0100 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2018-04-25 19:24:06 +0100 |
| commit | a1663d6650053eee5e43a1267a05578a920521da (patch) | |
| tree | 9346df967176dbfdb862532d2b28163e93db2c14 /filling.c | |
| parent | 441b11b310a17dbf7751f4c77fe69ca729b0fffb (diff) | |
| download | puzzles-a1663d6650053eee5e43a1267a05578a920521da.zip puzzles-a1663d6650053eee5e43a1267a05578a920521da.tar.gz puzzles-a1663d6650053eee5e43a1267a05578a920521da.tar.bz2 puzzles-a1663d6650053eee5e43a1267a05578a920521da.tar.xz | |
C89 build fixes.
Recent changes introduced a couple of non-C89-compatible mixed
declarations and code.
Diffstat (limited to 'filling.c')
| -rw-r--r-- | filling.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |