[Scummvm-git-logs] scummvm master -> 6a2c0e50915120d9b5be81ee4830f8898d56db3c

digitall 547637+digitall at users.noreply.github.com
Tue Jun 23 18:55:51 UTC 2020


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:
6a2c0e5091 GRAPHICS: MACGUI: Fix Signed vs. Unsigned Compiler Warning


Commit: 6a2c0e50915120d9b5be81ee4830f8898d56db3c
    https://github.com/scummvm/scummvm/commit/6a2c0e50915120d9b5be81ee4830f8898d56db3c
Author: D G Turner (digitall at scummvm.org)
Date: 2020-06-23T19:53:32+01:00

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

Changed paths:
    graphics/macgui/mactext.cpp


diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp
index 4b6a6d96d2..b5e91ffe8e 100644
--- a/graphics/macgui/mactext.cpp
+++ b/graphics/macgui/mactext.cpp
@@ -1494,7 +1494,7 @@ void MacText::deletePreviousChar(int *row, int *col) {
 		int pos = *col - 1;
 		uint ch = _textLines[*row].getChunkNum(&pos);
 
-		if (pos == _textLines[*row].chunks[ch].text.size())
+		if (pos == (int)_textLines[*row].chunks[ch].text.size())
 			pos--;
 
 		_textLines[*row].chunks[ch].text.deleteChar(pos);




More information about the Scummvm-git-logs mailing list