mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
Make newgame_undo_buf 'char *', not 'void *'.
This fixes a compile error under -pedantic at the point where we do pointer arithmetic on it.
This commit is contained in:
2
midend.c
2
midend.c
@ -63,7 +63,7 @@ struct midend {
|
|||||||
int nstates, statesize, statepos;
|
int nstates, statesize, statepos;
|
||||||
struct midend_state_entry *states;
|
struct midend_state_entry *states;
|
||||||
|
|
||||||
void *newgame_undo_buf;
|
char *newgame_undo_buf;
|
||||||
int newgame_undo_len, newgame_undo_size;
|
int newgame_undo_len, newgame_undo_size;
|
||||||
|
|
||||||
game_params *params, *curparams;
|
game_params *params, *curparams;
|
||||||
|
Reference in New Issue
Block a user