(svn r2617) - Fix: fix some warnings, and reenable vs.net2003 signed/unsigned warnings

This commit is contained in:
Darkvater
2005-07-17 18:11:17 +00:00
parent b9a6c16461
commit ff2662ebe7
6 changed files with 15 additions and 13 deletions

View File

@@ -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;