diff options
-rw-r--r-- | gui/gui-manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/gui-manager.cpp b/gui/gui-manager.cpp index 6f9fd8b13a..76f557711d 100644 --- a/gui/gui-manager.cpp +++ b/gui/gui-manager.cpp @@ -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; |