GRAPHICS: MACGUI: Fix Signed vs. Unsigned Compiler Warning

This commit is contained in:
D G Turner 2020-06-23 19:53:32 +01:00
parent bb8704f7d0
commit 6a2c0e5091

View File

@ -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);