diff options
author | Martin Kiewitz | 2010-08-06 15:30:23 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-08-06 15:30:23 +0000 |
commit | 8ca076fb3adbe5d0b8d781ed2a8ac78b22090a38 (patch) | |
tree | ec52254845006ad17157cd48a71c08349b10e6c7 /engines/sci/engine | |
parent | afed447b6fd3f52e7958c5ce499f84939f2e79e3 (diff) | |
download | scummvm-rg350-8ca076fb3adbe5d0b8d781ed2a8ac78b22090a38.tar.gz scummvm-rg350-8ca076fb3adbe5d0b8d781ed2a8ac78b22090a38.tar.bz2 scummvm-rg350-8ca076fb3adbe5d0b8d781ed2a8ac78b22090a38.zip |
SCI: fixing another warning
svn-id: r51789
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/segment.cpp | 2 |
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++) |