aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Bouclet2017-03-18 16:17:10 +0100
committerBastien Bouclet2017-03-18 16:17:10 +0100
commit4ca6f582645496310db9bf057d72b646fbc8a348 (patch)
tree1fffd0c0c268c35ff8f544c5bf80d726f0c942c8
parentb7b06e8399c62f72e1e586570da72f8a8f8dced5 (diff)
downloadscummvm-rg350-4ca6f582645496310db9bf057d72b646fbc8a348.tar.gz
scummvm-rg350-4ca6f582645496310db9bf057d72b646fbc8a348.tar.bz2
scummvm-rg350-4ca6f582645496310db9bf057d72b646fbc8a348.zip
GUI: Fix a signed vs unsigned comparison warning
-rw-r--r--gui/gui-manager.cpp2
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;