aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-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) ||