aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/segment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/engine/segment.cpp')
-rw-r--r--engines/sci/engine/segment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/segment.cpp b/engines/sci/engine/segment.cpp
index cb908979a3..b16dd5a5e5 100644
--- a/engines/sci/engine/segment.cpp
+++ b/engines/sci/engine/segment.cpp
@@ -414,7 +414,7 @@ int Object::locateVarSelector(SegManager *segMan, Selector slc) const {
} else {
const Object *obj = getClass(segMan);
varnum = obj->getVariable(1).toUint16();
- buf = (byte *)obj->_baseVars;
+ buf = (const byte *)obj->_baseVars;
}
for (uint i = 0; i < varnum; i++)