simon-git: puzzles (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Mon Jun 5 18:53:27 BST 2017


TL;DR:
  272beef Make cellsize a char.

Repository:     https://git.tartarus.org/simon/puzzles.git
On the web:     https://git.tartarus.org/?p=simon/puzzles.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2017-06-05 18:53:27

commit 272beef5f98fecc59c975ea920c601836a6bb08c
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=272beef5f98fecc59c975ea920c601836a6bb08c;hp=7bdfda840962e0de7442c4f58d37ca1f560a5797
Author: Phil Bordelon <phil at thenexusproject.org>
Date:   Sun Jun 4 23:48:56 2017 -0400

    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 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)



More information about the tartarus-commits mailing list