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]
/
cube.c
diff --git
a/cube.c
b/cube.c
index f09f63d744a56568729703241c3f240e4d9cec98..2a79a81eef23ee204a2aa10bb5c3f24040e6d4be 100644
(file)
--- a/
cube.c
+++ b/
cube.c
@@
-238,7
+238,7
@@
static game_params *default_params(void)
static int game_fetch_preset(int i, char **name, game_params **params)
{
game_params *ret = snew(game_params);
- char *str;
+ c
onst c
har *str;
switch (i) {
case 0: