aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2010-01-05 18:51:42 +0000
committerSimon Tatham <anakin@pobox.com>2010-01-05 18:51:42 +0000
commit66a6a930c52c5094d547ef91a09f19991cc707f5 (patch)
tree580a7d92e3ebde8703bdef6fd070802d6504664e
parented4b163b6990b3815294f96b94c17752e54d9768 (diff)
downloadpuzzles-66a6a930c52c5094d547ef91a09f19991cc707f5.zip
puzzles-66a6a930c52c5094d547ef91a09f19991cc707f5.tar.gz
puzzles-66a6a930c52c5094d547ef91a09f19991cc707f5.tar.bz2
puzzles-66a6a930c52c5094d547ef91a09f19991cc707f5.tar.xz
Yikes! Fix a misaimed 'sizeof' which I only got away with because
ints and pointers are usually the same size. [originally from svn r8809]
-rw-r--r--unfinished/group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unfinished/group.c b/unfinished/group.c
index 5dcf586..3d6e839 100644
--- 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);