mirror of https://github.com/stella-emu/stella.git
Fix signed/unsigned warning in clang.
This commit is contained in:
parent
9191f63da2
commit
d9d2bffa7a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue