summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-10-08 14:57:33 +0200
committerBardur Arantsson <bardur@scientician.net>2016-10-08 15:00:18 +0200
commitf40b4894a8410c1277aaabbf5ac47536810b65aa (patch)
tree78ad4a8afce8258404d9f76ed2c622280896dcdb /src
parent7de323212dd365c6a51f3c3cb6b4403e5bf49ca1 (diff)
Work around bad strchr() declaration
Fixes #11
Diffstat (limited to 'src')
-rw-r--r--src/init1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init1.cc b/src/init1.cc
index c77f28eb..427e2d86 100644
--- a/src/init1.cc
+++ b/src/init1.cc
@@ -3142,7 +3142,7 @@ errr init_s_info_txt(FILE *fp)
char *txt;
/* Acquire the text */
- char const *s = buf + 2;
+ char *s = buf + 2;
if (NULL == (txt = strchr(s, ':'))) return (1);
*txt = '\0';