~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Yikes! Fix a misaimed 'sizeof' which I only got away with because
[sgt/puzzles]
/
unfinished
/
group.c
diff --git
a/unfinished/group.c
b/unfinished/group.c
index
5dcf586
..
3d6e839
100644
(file)
--- a/
unfinished/group.c
+++ b/
unfinished/group.c
@@
-660,7
+660,7
@@
done
for (i = 1; i < w; i++)
for (j = 1; j < w; j++)
indices[k++] = i*w+j;
- shuffle(indices, k, sizeof(indices), rs);
+ shuffle(indices, k, sizeof(
*
indices), rs);
for (i = 0; i < k; i++) {
memcpy(soln2, grid, a);