aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2010-08-06 15:30:23 +0000
committerMartin Kiewitz2010-08-06 15:30:23 +0000
commit8ca076fb3adbe5d0b8d781ed2a8ac78b22090a38 (patch)
treeec52254845006ad17157cd48a71c08349b10e6c7 /engines
parentafed447b6fd3f52e7958c5ce499f84939f2e79e3 (diff)
downloadscummvm-rg350-8ca076fb3adbe5d0b8d781ed2a8ac78b22090a38.tar.gz
scummvm-rg350-8ca076fb3adbe5d0b8d781ed2a8ac78b22090a38.tar.bz2
scummvm-rg350-8ca076fb3adbe5d0b8d781ed2a8ac78b22090a38.zip
SCI: fixing another warning
svn-id: r51789
Diffstat (limited to 'engines')
-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++)