projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7734c79
)
silence some compiler warnings
author
Eric Mullins
<emwine@earthlink.net>
Tue, 13 Oct 2009 01:14:53 +0000 (19:14 -0600)
committer
Eric Mullins
<emwine@earthlink.net>
Tue, 13 Oct 2009 01:14:53 +0000 (19:14 -0600)
backend.c
patch
|
blob
|
history
diff --git
a/backend.c
b/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;
}