From 3fe0d6330195d298ec4ccc074c91a06a73211d60 Mon Sep 17 00:00:00 2001 From: Eric Mullins Date: Mon, 12 Oct 2009 19:14:53 -0600 Subject: [PATCH] silence some compiler warnings --- backend.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) 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; } -- 1.7.0.4