From f40b4894a8410c1277aaabbf5ac47536810b65aa Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Sat, 8 Oct 2016 14:57:33 +0200 Subject: Work around bad strchr() declaration Fixes #11 --- src/init1.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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'; -- cgit v1.2.3