chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make the code base clean under -Wwrite-strings.
[sgt-puzzles.git]
/
samegame.c
diff --git
a/samegame.c
b/samegame.c
index 8b3106272de8e3b102d6f540ca53a12ab86869ab..d7d06764bfa40f5814c6ed9b492b9e01218fb1bb 100644
(file)
--- a/
samegame.c
+++ b/
samegame.c
@@
-1108,7
+1108,8
@@
static void game_changed_state(game_ui *ui, const game_state *oldstate,
static char *sel_movedesc(game_ui *ui, const game_state *state)
{
int i;
- char *ret, *sep, buf[80];
+ char *ret, buf[80];
+ const char *sep;
int retlen, retsize;
retsize = 256;