chiark / gitweb /
Make cellsize a char.
authorPhil Bordelon <phil@thenexusproject.org>
Mon, 5 Jun 2017 03:48:56 +0000 (23:48 -0400)
committerSimon Tatham <anakin@pobox.com>
Mon, 5 Jun 2017 17:36:20 +0000 (18:36 +0100)
commit272beef5f98fecc59c975ea920c601836a6bb08c
treea230a370ffc5a9740b7aa5b92854e86a3af750fd
parent7bdfda840962e0de7442c4f58d37ca1f560a5797
Make cellsize a char.

Apparently new versions of GCC get grumpy if the possible range for a sprintf()
call exceeds MAXINT, which would never happen in actuality here due to the size
of the puzzles we're dealing with... but the compiler doesn't know that, of
course, so thinks that something may have gone horribly awry.  Changing it to a
char solves the problem neatly.
range.c