aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2014-12-27 11:10:14 +0100
committerWillem Jan Palenstijn2014-12-27 11:10:14 +0100
commit569c06b5105c7bae0a72d4abc72cf5db51541702 (patch)
tree1259598bc60133f889bbfdb0bba3df759f17e9b1 /engines/sci/engine
parent192c3df6a1b65a5e08b5fd0e2a82792393240378 (diff)
downloadscummvm-rg350-569c06b5105c7bae0a72d4abc72cf5db51541702.tar.gz
scummvm-rg350-569c06b5105c7bae0a72d4abc72cf5db51541702.tar.bz2
scummvm-rg350-569c06b5105c7bae0a72d4abc72cf5db51541702.zip
SCI: Fix warning
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/state.cpp b/engines/sci/engine/state.cpp
index c07dc925e0..527c8f0ae0 100644
--- a/engines/sci/engine/state.cpp
+++ b/engines/sci/engine/state.cpp
@@ -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 {
kLanguage foundLanguage = K_LANG_NONE;
- const byte *textPtr = (byte *)str.c_str();
+ const byte *textPtr = (const byte *)str.c_str();
byte curChar = 0;
byte curChar2 = 0;