mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 23:51:29 -07:00
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:
2
loopy.c
2
loopy.c
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user