aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/scriptables/ScValue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/scriptables/ScValue.cpp')
-rw-r--r--engines/wintermute/scriptables/ScValue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/scriptables/ScValue.cpp b/engines/wintermute/scriptables/ScValue.cpp
index 7720aa314c..8075df0e71 100644
--- a/engines/wintermute/scriptables/ScValue.cpp
+++ b/engines/wintermute/scriptables/ScValue.cpp
@@ -591,7 +591,7 @@ const char *CScValue::GetString() {
break;
case VAL_NATIVE: {
- char *StrVal = _valNative->ScToString();
+ const char *StrVal = _valNative->ScToString();
SetStringVal(StrVal);
return StrVal;
break;