shithub: puzzles

Download patch

ref: 3a35ed219583c456b84615cfdd3b62a1499c8fcf
parent: cdc1224233dc2c0de2605d9a555d98b13245f513
author: Simon Tatham <anakin@pobox.com>
date: Thu Nov 28 13:32:29 EST 2013

Fix a printf 64-bit-cleanness error.

[originally from svn r10098]

--- a/unfinished/numgame.c
+++ b/unfinished/numgame.c
@@ -1193,7 +1193,7 @@
 	} else {
 	    if (nnumbers >= lenof(numbers)) {
 		fprintf(stderr, "%s: internal limit of %d numbers exceeded\n",
-			pname, lenof(numbers));
+			pname, (int)lenof(numbers));
 		return 1;
 	    } else {
 		numbers[nnumbers++] = atoi(p);