aboutsummaryrefslogtreecommitdiff
path: root/unfinished/separate.c
diff options
context:
space:
mode:
Diffstat (limited to 'unfinished/separate.c')
-rw-r--r--unfinished/separate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unfinished/separate.c b/unfinished/separate.c
index b064f18..fdee409 100644
--- a/unfinished/separate.c
+++ b/unfinished/separate.c
@@ -189,7 +189,7 @@ struct solver_scratch {
/*
* Tracks connectedness between squares.
*/
- int *dsf;
+ DSF *dsf;
/*
* size[dsf_canonify(dsf, yx)] tracks the size of the
@@ -514,7 +514,7 @@ static unsigned char *generate(int w, int h, int k, random_state *rs)
gen_lock = snewn(wh, bool);
do {
- int *dsf = divvy_rectangle(w, h, k, rs);
+ DSF *dsf = divvy_rectangle(w, h, k, rs);
/*
* Go through the dsf and find the indices of all the