[Scummvm-cvs-logs] scummvm master -> 569c06b5105c7bae0a72d4abc72cf5db51541702

wjp wjp at usecode.org
Sat Dec 27 11:11:45 CET 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
569c06b510 SCI: Fix warning


Commit: 569c06b5105c7bae0a72d4abc72cf5db51541702
    https://github.com/scummvm/scummvm/commit/569c06b5105c7bae0a72d4abc72cf5db51541702
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2014-12-27T11:10:14+01:00

Commit Message:
SCI: Fix warning

Changed paths:
    engines/sci/engine/state.cpp



diff --git a/engines/sci/engine/state.cpp b/engines/sci/engine/state.cpp
index c07dc92..527c8f0 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;
 	






More information about the Scummvm-git-logs mailing list