aboutsummaryrefslogtreecommitdiff
path: root/singles.c
diff options
context:
space:
mode:
Diffstat (limited to 'singles.c')
-rw-r--r--singles.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/singles.c b/singles.c
index 5541ad5..06333b6 100644
--- a/singles.c
+++ b/singles.c
@@ -421,7 +421,7 @@ static void debug_state(const char *desc, game_state *state) {
sfree(dbg);
}
-static void connect_if_same(game_state *state, int *dsf, int i1, int i2)
+static void connect_if_same(game_state *state, DSF *dsf, int i1, int i2)
{
int c1, c2;
@@ -433,7 +433,7 @@ static void connect_if_same(game_state *state, int *dsf, int i1, int i2)
dsf_merge(dsf, c1, c2);
}
-static void connect_dsf(game_state *state, int *dsf)
+static void connect_dsf(game_state *state, DSF *dsf)
{
int x, y, i;
@@ -498,7 +498,7 @@ static int check_rowcol(game_state *state, int starti, int di, int sz, unsigned
static bool check_complete(game_state *state, unsigned flags)
{
- int *dsf = snew_dsf(state->n);
+ DSF *dsf = snew_dsf(state->n);
int x, y, i, error = 0, nwhite, w = state->w, h = state->h;
if (flags & CC_MARK_ERRORS) {