diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/launcher.cpp | 2 |
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(); } |