SCI: Fix warning

This commit is contained in:
Willem Jan Palenstijn 2014-12-27 11:10:14 +01:00
parent 192c3df6a1
commit 569c06b510

View file

@ -205,7 +205,7 @@ static kLanguage charToLanguage(const char c) {
Common::String SciEngine::getSciLanguageString(const Common::String &str, kLanguage requestedLanguage, kLanguage *secondaryLanguage, uint16 *languageSplitter) const { Common::String SciEngine::getSciLanguageString(const Common::String &str, kLanguage requestedLanguage, kLanguage *secondaryLanguage, uint16 *languageSplitter) const {
kLanguage foundLanguage = K_LANG_NONE; kLanguage foundLanguage = K_LANG_NONE;
const byte *textPtr = (byte *)str.c_str(); const byte *textPtr = (const byte *)str.c_str();
byte curChar = 0; byte curChar = 0;
byte curChar2 = 0; byte curChar2 = 0;