aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorBLooperZ2020-01-01 19:57:00 +0200
committerFilippos Karapetis2020-01-01 20:28:56 +0200
commitfdeffa1a32618c41d346fe14a55032bbb42b7078 (patch)
treeab4e8394980343a7ac1b249e91512e3c6edc5bde /engines/scumm
parentb7275be05171e6e56f41d0b3f81198e8926d0ada (diff)
downloadscummvm-rg350-fdeffa1a32618c41d346fe14a55032bbb42b7078.tar.gz
scummvm-rg350-fdeffa1a32618c41d346fe14a55032bbb42b7078.tar.bz2
scummvm-rg350-fdeffa1a32618c41d346fe14a55032bbb42b7078.zip
SCUMM: fix loop counter type
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp
index 0a767e1aa9..abcf9cf6cd 100644
--- a/engines/scumm/string.cpp
+++ b/engines/scumm/string.cpp
@@ -503,7 +503,7 @@ void ScummEngine::fakeBidiString(byte *ltext, bool ignoreVerb) {
// Reverse string on current line (between start and ipos).
int32 sthead = 0;
byte last = 0;
- for (int j = 0; j < ipos; j++) {
+ for (int32 j = 0; j < ipos; j++) {
byte *curr = text + start + ipos - j - 1;
// Special cases to preserve original ordering (numbers).
if (Common::isDigit(*curr) ||