GUI: Fix int/int32 build failures

All of this is because Rect and Surface have moved to int32
This commit is contained in:
Le Philousophe 2021-07-05 23:19:10 +02:00
parent d77074490f
commit c2bd0cfb90

View File

@ -315,7 +315,7 @@ void EditableWidget::drawCaret(bool erase) {
if (erase) {
GUI::EditableWidget::String character;
int width;
int32 width;
if ((uint)_caretPos < _editString.size()) {
const byte chr = _editString[_caretPos];