diff options
author | Max Horn | 2010-05-29 21:42:42 +0000 |
---|---|---|
committer | Max Horn | 2010-05-29 21:42:42 +0000 |
commit | 42d6ed880b92e19c469c70da92397bd860abb483 (patch) | |
tree | 301a6c565a81bf91e81c1267e2838bfd2eda1a0b /engines/sci/engine/segment.cpp | |
parent | 5143e7fff42de358021c1a150d2bd7495374ba49 (diff) | |
download | scummvm-rg350-42d6ed880b92e19c469c70da92397bd860abb483.tar.gz scummvm-rg350-42d6ed880b92e19c469c70da92397bd860abb483.tar.bz2 scummvm-rg350-42d6ed880b92e19c469c70da92397bd860abb483.zip |
SCI: Make Script::_exportTable const (yay :-)
svn-id: r49315
Diffstat (limited to 'engines/sci/engine/segment.cpp')
-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 02d3a8987b..17d0b67cf1 100644 --- a/engines/sci/engine/segment.cpp +++ b/engines/sci/engine/segment.cpp @@ -362,7 +362,7 @@ void Script::setLockers(int lockers) { void Script::setExportTableOffset(int offset) { if (offset) { - _exportTable = (uint16 *)(_buf + offset + 2); + _exportTable = (const uint16 *)(_buf + offset + 2); _numExports = READ_SCI11ENDIAN_UINT16(_exportTable - 1); } else { _exportTable = NULL; |