Fix signed/unsigned warning in clang.

This commit is contained in:
Stephen Anthony 2019-06-11 13:37:55 -02:30
parent 9191f63da2
commit d9d2bffa7a
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ void Dialog::open()
// dialogs cause drawing to occur within loadConfig()
if (_surface == nullptr)
_surface = instance().frameBuffer().allocateSurface(_w, _h);
else if (_w > _surface->width() || _h > _surface->height())
else if (uInt32(_w) > _surface->width() || uInt32(_h) > _surface->height())
_surface->resize(_w, _h);
_surface->setSrcSize(_w, _h);
_layer = parent().addDialog(this);