diff options
author | Eugene Sandulenko | 2019-12-26 17:04:02 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2019-12-26 17:04:02 +0100 |
commit | fb122a9e2063a381376e3e53e1782ddb6ae26f88 (patch) | |
tree | ca8a0b7f0a3ea433049911fb66cfed7e6762da22 /engines | |
parent | 5375a2a048a5cbc5448ebd731927c9b843e7a571 (diff) | |
download | scummvm-rg350-fb122a9e2063a381376e3e53e1782ddb6ae26f88.tar.gz scummvm-rg350-fb122a9e2063a381376e3e53e1782ddb6ae26f88.tar.bz2 scummvm-rg350-fb122a9e2063a381376e3e53e1782ddb6ae26f88.zip |
DIRECTOR: Fix index type
Diffstat (limited to 'engines')
-rw-r--r-- | engines/director/score.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/score.cpp b/engines/director/score.cpp index f74c636b7c..9da17d3590 100644 --- a/engines/director/score.cpp +++ b/engines/director/score.cpp @@ -911,7 +911,7 @@ void Score::loadLabels(Common::SeekableSubReadStreamEndian &stream) { stream.seek(stringPos); Common::String label; - for (uint16 j = stringPos; j < nextStringPos; j++) { + for (uint32 j = stringPos; j < nextStringPos; j++) { label += stream.readByte(); } |