From 509f1b040f3877638d009467bcbf6977e3c62917 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 25 Dec 2004 23:19:42 +0000 Subject: Fix warning svn-id: r16325 --- gui/launcher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui') 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(); } -- cgit v1.2.3