[Scummvm-git-logs] scummvm master -> e851067c97a55e15e66f1b6d9edc61382e94c467

digitall noreply at scummvm.org
Fri Oct 27 22:25:25 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:
e851067c97 GRAPHICS: MACGUI: Fix Signed vs. Unsigned GCC Compiler Warning


Commit: e851067c97a55e15e66f1b6d9edc61382e94c467
    https://github.com/scummvm/scummvm/commit/e851067c97a55e15e66f1b6d9edc61382e94c467
Author: D G Turner (digitall at scummvm.org)
Date: 2023-10-27T23:25:00+01:00

Commit Message:
GRAPHICS: MACGUI: Fix Signed vs. Unsigned GCC Compiler Warning

Changed paths:
    graphics/macgui/mactext-canvas.cpp


diff --git a/graphics/macgui/mactext-canvas.cpp b/graphics/macgui/mactext-canvas.cpp
index 41e5dff8290..dd668cfd5b4 100644
--- a/graphics/macgui/mactext-canvas.cpp
+++ b/graphics/macgui/mactext-canvas.cpp
@@ -981,7 +981,7 @@ void MacTextCanvas::reshuffleParagraph(int *row, int *col, MacFontRun &defaultFo
 	while (ppos > getLineCharWidth(*row, true)) {
 		ppos -= getLineCharWidth(*row, true);
 
-		if (*row == _text.size() - 1)
+		if (*row == (int)_text.size() - 1)
 			break;
 
 		(*row)++;




More information about the Scummvm-git-logs mailing list