diff options
author | Darkvater <Darkvater@openttd.org> | 2005-07-17 18:11:17 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2005-07-17 18:11:17 +0000 |
commit | 52615298877de3808433c366064cf84dfcf4daf6 (patch) | |
tree | 693c61f46666bfa8efbb34fd9c4ffa2e55f4d48b /strgen | |
parent | f3c14486be6b0dbabde84a66f0e2e92d6d6c47ba (diff) | |
download | openttd-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.c | 4 |
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; |