mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
Adam D. Lopresto and Phil Bordelon independently point out a
signedness mismatch. [originally from svn r7350]
This commit is contained in:
2
latin.c
2
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 */
|
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 (y = 0; y < o; y++) {
|
||||||
for (x = 0; x < o; x++) {
|
for (x = 0; x < o; x++) {
|
||||||
for (i = 1; i <= o; i++) {
|
for (i = 1; i <= o; i++) {
|
||||||
|
Reference in New Issue
Block a user