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:
Simon Tatham
2017-10-01 13:52:16 +01:00
parent db313b3948
commit 8ea15f3b35

View File

@ -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;