diff options
| author | Simon Tatham <anakin@pobox.com> | 2017-10-01 13:52:16 +0100 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2017-10-01 13:52:16 +0100 |
| commit | 8ea15f3b3525d2ef5341f8122871c4f0ff77260a (patch) | |
| tree | 29b5a8ddf4748f0e733de9cf9b27c075be7069fc /midend.c | |
| parent | db313b3948d27244dd7c34c2609c66d6204d8931 (diff) | |
| download | puzzles-8ea15f3b3525d2ef5341f8122871c4f0ff77260a.zip puzzles-8ea15f3b3525d2ef5341f8122871c4f0ff77260a.tar.gz puzzles-8ea15f3b3525d2ef5341f8122871c4f0ff77260a.tar.bz2 puzzles-8ea15f3b3525d2ef5341f8122871c4f0ff77260a.tar.xz | |
Make newgame_undo_buf 'char *', not 'void *'.
This fixes a compile error under -pedantic at the point where we do
pointer arithmetic on it.
Diffstat (limited to 'midend.c')
| -rw-r--r-- | midend.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -63,7 +63,7 @@ struct midend { int nstates, statesize, statepos; struct midend_state_entry *states; - void *newgame_undo_buf; + char *newgame_undo_buf; int newgame_undo_len, newgame_undo_size; game_params *params, *curparams; |