Warnings: format string issue.
authorYann Dirson <ydirson@free.fr>
Wed, 19 Feb 2014 21:40:45 +0000 (22:40 +0100)
committerYann Dirson <ydirson@free.fr>
Sat, 22 Feb 2014 09:44:45 +0000 (10:44 +0100)
gnushogi/sizetest.c

index 7ed8bf3..f3d7b0f 100644 (file)
@@ -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);