X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gnushogi%2Fsizetest.c;h=f3d7b0f5ff292371b98e64071a4ea14b83280187;hb=25ede0591060339896d1ff8fd7b77385b4ca865b;hp=d70f546b4db443413a35c214ea2c0d4f1fc36450;hpb=829c253a7cc2d3e1a9ed643485c1b1a92967b5df;p=gnushogi.git diff --git a/gnushogi/sizetest.c b/gnushogi/sizetest.c index d70f546..f3d7b0f 100644 --- a/gnushogi/sizetest.c +++ b/gnushogi/sizetest.c @@ -6,6 +6,7 @@ * ---------------------------------------------------------------------- * Copyright (c) 1993, 1994, 1995 Matthias Mutz * Copyright (c) 1999 Michael Vanier and the Free Software Foundation + * Copyright (c) 2008, 2013, 2014 Yann Dirson and the Free Software Foundation * * GNU SHOGI is based on GNU CHESS * @@ -243,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);