X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gnushogi%2Fsizetest.c;h=f3d7b0f5ff292371b98e64071a4ea14b83280187;hb=25ede0591060339896d1ff8fd7b77385b4ca865b;hp=bfd007fcfa8bb3167b3c17a37d41adc652c7b64f;hpb=82b026e6376b640a4d3409a461dd6bd83708e33e;p=gnushogi.git diff --git a/gnushogi/sizetest.c b/gnushogi/sizetest.c index bfd007f..f3d7b0f 100644 --- a/gnushogi/sizetest.c +++ b/gnushogi/sizetest.c @@ -4,11 +4,15 @@ * Display memory usage of GNU Shogi data structures. * * ---------------------------------------------------------------------- - * - * Copyright (c) 2012 Free Software Foundation + * 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 * + * Copyright (c) 1988, 1989, 1990 John Stanback + * Copyright (c) 1992 Free Software Foundation + * * This file is part of GNU SHOGI. * * GNU Shogi is free software; you can redistribute it and/or modify it @@ -28,7 +32,6 @@ * */ -#include "version.h" #include "gnushogi.h" #include @@ -241,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);