diff options
author | BLooperZ | 2020-01-01 19:57:00 +0200 |
---|---|---|
committer | Filippos Karapetis | 2020-01-01 20:28:56 +0200 |
commit | fdeffa1a32618c41d346fe14a55032bbb42b7078 (patch) | |
tree | ab4e8394980343a7ac1b249e91512e3c6edc5bde /engines | |
parent | b7275be05171e6e56f41d0b3f81198e8926d0ada (diff) | |
download | scummvm-rg350-fdeffa1a32618c41d346fe14a55032bbb42b7078.tar.gz scummvm-rg350-fdeffa1a32618c41d346fe14a55032bbb42b7078.tar.bz2 scummvm-rg350-fdeffa1a32618c41d346fe14a55032bbb42b7078.zip |
SCUMM: fix loop counter type
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/string.cpp | 2 |
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) || |