Fix compile warning.

This commit is contained in:
Stephen Anthony 2020-11-07 09:51:46 -03:30
parent 99c3db219b
commit 6494d07c48
1 changed files with 1 additions and 1 deletions

View File

@ -440,7 +440,7 @@ bool EditableWidget::killChar(int direction, bool addEdit)
}
else if(direction == 1) // Delete next character (delete)
{
if(_caretPos < _editString.size())
if(_caretPos < int(_editString.size()))
{
if(_selectSize > 0)
_selectSize--;