mirror of https://github.com/stella-emu/stella.git
Fix compile warning.
This commit is contained in:
parent
99c3db219b
commit
6494d07c48
|
@ -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--;
|
||||
|
|
Loading…
Reference in New Issue