Miscellaneous const fixes

These are cases where -Wcast-qual complained and the only change needed
was to add or remove a "const" (or sometimes an entire cast).
This commit is contained in:
Ben Harris
2023-02-18 23:14:12 +00:00
parent 3c3468355f
commit 26c7f3aa28
5 changed files with 9 additions and 9 deletions

View File

@ -1370,7 +1370,7 @@ static bool game_has_unique_soln(const game_state *state, int diff)
{
bool ret;
solver_state *sstate_new;
solver_state *sstate = new_solver_state((game_state *)state, diff);
solver_state *sstate = new_solver_state(state, diff);
sstate_new = solve_game_rec(sstate);