summaryrefslogtreecommitdiff
path: root/strgen
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2005-07-17 18:11:17 +0000
committerDarkvater <Darkvater@openttd.org>2005-07-17 18:11:17 +0000
commit52615298877de3808433c366064cf84dfcf4daf6 (patch)
tree693c61f46666bfa8efbb34fd9c4ffa2e55f4d48b /strgen
parentf3c14486be6b0dbabde84a66f0e2e92d6d6c47ba (diff)
downloadopenttd-52615298877de3808433c366064cf84dfcf4daf6.tar.xz
(svn r2617) - Fix: fix some warnings, and reenable vs.net2003 signed/unsigned warnings
Diffstat (limited to 'strgen')
-rw-r--r--strgen/strgen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/strgen/strgen.c b/strgen/strgen.c
index 3370774fa..b6c5b4e91 100644
--- a/strgen/strgen.c
+++ b/strgen/strgen.c
@@ -634,7 +634,7 @@ static void ExtractCommandString(ParsedCommandStruct *p, char *s, bool warnings)
for(;;) {
// read until next command from a.
- ar = ParseCommandString(&s, param, &argno, &casei);
+ ar = ParseCommandString((const char **)&s, param, &argno, &casei);
if (ar == NULL)
break;
@@ -891,7 +891,7 @@ static void MakeHashOfStrings()
hash = MyHashStr(hash, s + 1);
s = ls->english;
- while ((cs = ParseCommandString(&s, buf, &argno, &casei)) != NULL) {
+ while ((cs = ParseCommandString((const char **)&s, buf, &argno, &casei)) != NULL) {
if (cs->flags & C_DONTCOUNT)
continue;