aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorD G Turner2017-11-27 11:39:58 +0000
committerD G Turner2017-11-27 11:39:58 +0000
commitafdcde4b54d4979ad8b29da6c766151cc01d5fec (patch)
tree438f99451485627475b567ea917f3bdbabfddaf2 /gui
parent1232a3cb018503f369673003b7d6165a54598f59 (diff)
downloadscummvm-rg350-afdcde4b54d4979ad8b29da6c766151cc01d5fec.tar.gz
scummvm-rg350-afdcde4b54d4979ad8b29da6c766151cc01d5fec.tar.bz2
scummvm-rg350-afdcde4b54d4979ad8b29da6c766151cc01d5fec.zip
GUI: Fix Signed vs. Unsigned Comparison GCC Compiler Warning.
Diffstat (limited to 'gui')
-rw-r--r--gui/saveload-dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/saveload-dialog.cpp b/gui/saveload-dialog.cpp
index cbfaaed8dd..189760b4e1 100644
--- a/gui/saveload-dialog.cpp
+++ b/gui/saveload-dialog.cpp
@@ -698,7 +698,7 @@ void SaveLoadChooserSimple::updateSaveList() {
int selected = _list->getSelected();
_list->setList(saveNames, &colors);
- if (selected >= 0 && selected < saveNames.size())
+ if (selected >= 0 && selected < (int)saveNames.size())
_list->setSelected(selected);
else
_chooseButton->setEnabled(false);