From fdeffa1a32618c41d346fe14a55032bbb42b7078 Mon Sep 17 00:00:00 2001 From: BLooperZ Date: Wed, 1 Jan 2020 19:57:00 +0200 Subject: SCUMM: fix loop counter type --- engines/scumm/string.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/scumm') 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) || -- cgit v1.2.3