[Scummvm-git-logs] scummvm master -> 61299275b87ea7876ccd12eba1866f8f0081d7bc
digitall
noreply at scummvm.org
Tue Sep 19 01:00:51 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
61299275b8 GRAPHICS: MACGUI: Fix GCC Signed vs. Unsigned Comparison Compiler Warning
Commit: 61299275b87ea7876ccd12eba1866f8f0081d7bc
https://github.com/scummvm/scummvm/commit/61299275b87ea7876ccd12eba1866f8f0081d7bc
Author: D G Turner (digitall at scummvm.org)
Date: 2023-09-19T02:00:28+01:00
Commit Message:
GRAPHICS: MACGUI: Fix GCC Signed vs. Unsigned Comparison Compiler Warning
Changed paths:
graphics/macgui/mactext.cpp
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp
index 5cac7d4b59b..8bf1a1ce45c 100644
--- a/graphics/macgui/mactext.cpp
+++ b/graphics/macgui/mactext.cpp
@@ -2311,7 +2311,7 @@ void MacText::getRowCol(int x, int y, int *sx, int *sy, int *row, int *col, int
break;
}
- if (chunk >= _textLines[nrow].chunks.size())
+ if (chunk >= (int)_textLines[nrow].chunks.size())
chunk = _textLines[nrow].chunks.size() - 1;
if (chunk_)
More information about the Scummvm-git-logs
mailing list