GRAPHICS: MACGUI: Fix GCC Compiler Warnings.

This commit is contained in:
D G Turner 2017-08-11 00:56:28 +01:00
parent 3c947754ac
commit fbd1e87824

View File

@ -324,8 +324,8 @@ bool MacTextWindow::processEvent(Common::Event &event) {
bool cutAllowed = false;
if (_selectedText.startRow >= _mactext->getLineCount() - _inputTextHeight &&
_selectedText.endRow >= _mactext->getLineCount() - _inputTextHeight)
if (_selectedText.startRow >= (int)(_mactext->getLineCount() - _inputTextHeight) &&
_selectedText.endRow >= (int)(_mactext->getLineCount() - _inputTextHeight))
cutAllowed = true;
_menu->enableCommand("Edit", "Cut", cutAllowed);