From: Yann Dirson Date: Wed, 19 Feb 2014 21:40:45 +0000 (+0100) Subject: Warnings: format string issue. X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=25ede0591060339896d1ff8fd7b77385b4ca865b;p=gnushogi.git Warnings: format string issue. --- diff --git a/gnushogi/sizetest.c b/gnushogi/sizetest.c index 7ed8bf3..f3d7b0f 100644 --- a/gnushogi/sizetest.c +++ b/gnushogi/sizetest.c @@ -244,7 +244,7 @@ main(int argc, char **argv) n = 0; #endif - printf("history:\t%4d\tkByte\t[unsigned short:%d " + printf("history:\t%4d\tkByte\t[unsigned short:%lu " "* HISTORY_SIZE:%ld]\n", n, sizeof(unsigned short), (long)HISTORY_SIZE);