From 26c7f3aa285a45176c940afebe3885ad2be2ed65 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 18 Feb 2023 23:14:12 +0000 Subject: 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). --- loopy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'loopy.c') diff --git a/loopy.c b/loopy.c index 3545976..0a22e6a 100644 --- a/loopy.c +++ b/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); -- cgit v1.1