mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-02 15:16:46 +00:00
GUI: Fix a signed vs unsigned comparison warning
This commit is contained in:
parent
b7b06e8399
commit
4ca6f58264
@ -261,7 +261,7 @@ void GuiManager::addToTrash(GuiObject* object, Dialog* parent) {
|
||||
t.parent = 0;
|
||||
// If a dialog was provided, check it is in the dialog stack
|
||||
if (parent != 0) {
|
||||
for (int i = 0 ; i < _dialogStack.size() ; ++i) {
|
||||
for (uint i = 0 ; i < _dialogStack.size() ; ++i) {
|
||||
if (_dialogStack[i] == parent) {
|
||||
t.parent = parent;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user