chiark / gitweb /
Make the code base clean under -Wwrite-strings.
[sgt-puzzles.git] / samegame.c
index 8b3106272de8e3b102d6f540ca53a12ab86869ab..d7d06764bfa40f5814c6ed9b492b9e01218fb1bb 100644 (file)
@@ -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;