From: Eric Mullins Date: Tue, 13 Oct 2009 01:14:53 +0000 (-0600) Subject: silence some compiler warnings X-Git-Tag: v4.4.1.20091019~25 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=3fe0d6330195d298ec4ccc074c91a06a73211d60;p=xboard.git silence some compiler warnings --- diff --git a/backend.c b/backend.c index 549fb9d..1f424e3 100644 --- a/backend.c +++ b/backend.c @@ -9599,7 +9599,7 @@ SaveGamePGN(f) fprintf(f, " "); linelen++; } - fprintf(f, numtext); + fprintf(f, "%s", numtext); linelen += numlen; /* Get move */ @@ -9617,7 +9617,7 @@ SaveGamePGN(f) fprintf(f, " "); linelen++; } - fprintf(f, move_buffer); + fprintf(f, "%s", move_buffer); linelen += movelen; /* [AS] Add PV info if present */ @@ -9661,7 +9661,7 @@ SaveGamePGN(f) fprintf(f, " "); linelen++; } - fprintf(f, move_buffer); + fprintf(f, "%s", move_buffer); linelen += movelen; }