diff options
-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(); } |