diff --git a/Sources/GameMP/CompMessage.cpp b/Sources/GameMP/CompMessage.cpp index 52a61c3..9d320d6 100644 --- a/Sources/GameMP/CompMessage.cpp +++ b/Sources/GameMP/CompMessage.cpp @@ -208,7 +208,7 @@ CTString CCompMessage::GetLine(INDEX iLine) } // find end of line CTString strLine = strText; - char *pchEndOfLine = strchr(strLine, '\n'); + char *pchEndOfLine = (char *) strchr(strLine, '\n'); // if found if (pchEndOfLine!=NULL) { // cut there diff --git a/Sources/SeriousSam/CmdLine.cpp b/Sources/SeriousSam/CmdLine.cpp index dc949af..63ec73f 100644 --- a/Sources/SeriousSam/CmdLine.cpp +++ b/Sources/SeriousSam/CmdLine.cpp @@ -31,7 +31,7 @@ CTString GetNextParam(void) // if the first char is quote if (_strCmd[0]=='"') { // find first next quote - char *pchClosingQuote = strchr(_strCmd+1, '"'); + char *pchClosingQuote = (char *) strchr(_strCmd+1, '"'); // if not found if (pchClosingQuote==NULL) { // error in command line