chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf0b0b7
)
Adam D. Lopresto and Phil Bordelon independently point out a
author
Simon Tatham
<anakin@pobox.com>
Thu, 1 Mar 2007 07:39:05 +0000
(07:39 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Thu, 1 Mar 2007 07:39:05 +0000
(07:39 +0000)
signedness mismatch.
[originally from svn r7350]
latin.c
patch
|
blob
|
history
diff --git
a/latin.c
b/latin.c
index bfed6714ec07d3f5cc09f8c91a8ccaa94c356375..45096e4949e091ef7500362de6e9c393fbd85be7 100644
(file)
--- a/
latin.c
+++ b/
latin.c
@@
-961,7
+961,7
@@
void latin_solver_debug(unsigned char *cube, int o)
ls.cube = cube; ls.o = o; /* for cube() to work */
- dbg = snewn(3*o*o*o,
unsigned
char);
+ dbg = snewn(3*o*o*o, char);
for (y = 0; y < o; y++) {
for (x = 0; x < o; x++) {
for (i = 1; i <= o; i++) {