aboutsummaryrefslogtreecommitdiff
path: root/loopy.c
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2023-02-18 23:14:12 +0000
committerBen Harris <bjh21@bjh21.me.uk>2023-02-18 23:14:12 +0000
commit26c7f3aa285a45176c940afebe3885ad2be2ed65 (patch)
treed3e881616ae1881660e77f72d33489b34ae27e0d /loopy.c
parent3c3468355f8cf3dd644058ab239b948f8facebfa (diff)
downloadpuzzles-26c7f3aa285a45176c940afebe3885ad2be2ed65.zip
puzzles-26c7f3aa285a45176c940afebe3885ad2be2ed65.tar.gz
puzzles-26c7f3aa285a45176c940afebe3885ad2be2ed65.tar.bz2
puzzles-26c7f3aa285a45176c940afebe3885ad2be2ed65.tar.xz
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).
Diffstat (limited to 'loopy.c')
-rw-r--r--loopy.c2
1 files changed, 1 insertions, 1 deletions
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);