silence some compiler warnings
authorEric Mullins <emwine@earthlink.net>
Tue, 13 Oct 2009 01:14:53 +0000 (19:14 -0600)
committerEric Mullins <emwine@earthlink.net>
Tue, 13 Oct 2009 01:14:53 +0000 (19:14 -0600)
backend.c

index 549fb9d..1f424e3 100644 (file)
--- 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;
         }