aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-26 17:04:02 +0100
committerEugene Sandulenko2019-12-26 17:04:02 +0100
commitfb122a9e2063a381376e3e53e1782ddb6ae26f88 (patch)
treeca8a0b7f0a3ea433049911fb66cfed7e6762da22
parent5375a2a048a5cbc5448ebd731927c9b843e7a571 (diff)
downloadscummvm-rg350-fb122a9e2063a381376e3e53e1782ddb6ae26f88.tar.gz
scummvm-rg350-fb122a9e2063a381376e3e53e1782ddb6ae26f88.tar.bz2
scummvm-rg350-fb122a9e2063a381376e3e53e1782ddb6ae26f88.zip
DIRECTOR: Fix index type
-rw-r--r--engines/director/score.cpp2
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();
}