From 80990bd472f849fc33083bbc5eceab1df129c223 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Aug 2011 17:57:03 +0300 Subject: Fix compilation warning. --- src/gui/serverdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp index 37870a87f..143d3e5a3 100644 --- a/src/gui/serverdialog.cpp +++ b/src/gui/serverdialog.cpp @@ -124,7 +124,7 @@ std::string ServersListModel::getElementAt(int elementIndex) void ServersListModel::setVersionString(int index, const std::string &version) { - if (index >= mVersionStrings.size()) + if (index >= (int)mVersionStrings.size()) return; if (version.empty()) -- cgit v1.2.3-70-g09d2