aboutsummaryrefslogtreecommitdiff
path: root/gui/launcher.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2004-12-25 23:19:42 +0000
committerEugene Sandulenko2004-12-25 23:19:42 +0000
commit509f1b040f3877638d009467bcbf6977e3c62917 (patch)
tree1df1d62e3890c3af88c2f57303fc7d88c703621d /gui/launcher.cpp
parent02c0a25c31148b9319a194754a20bd59259db1ef (diff)
downloadscummvm-rg350-509f1b040f3877638d009467bcbf6977e3c62917.tar.gz
scummvm-rg350-509f1b040f3877638d009467bcbf6977e3c62917.tar.bz2
scummvm-rg350-509f1b040f3877638d009467bcbf6977e3c62917.zip
Fix warning
svn-id: r16325
Diffstat (limited to 'gui/launcher.cpp')
-rw-r--r--gui/launcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index a6ccdf2d78..d3d8757424 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -489,7 +489,7 @@ void LauncherDialog::updateListing() {
const int oldSel = _list->getSelected();
_list->setList(l);
- if (oldSel < l.size())
+ if (oldSel < (int)l.size())
_list->setSelected(oldSel); // Restore the old selection
updateButtons();
}