summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-08-20 17:57:03 +0300
committerAndrei Karas <akaras@inbox.ru>2011-08-20 17:57:03 +0300
commit80990bd472f849fc33083bbc5eceab1df129c223 (patch)
tree48e3380f35c9808cfa5308343d4f702ec311c7ce /src/gui/serverdialog.cpp
parent0d99a4950df52de9e72c9adc3c7661a286349acb (diff)
downloadManaVerse-80990bd472f849fc33083bbc5eceab1df129c223.tar.gz
ManaVerse-80990bd472f849fc33083bbc5eceab1df129c223.tar.bz2
ManaVerse-80990bd472f849fc33083bbc5eceab1df129c223.tar.xz
ManaVerse-80990bd472f849fc33083bbc5eceab1df129c223.zip
Fix compilation warning.
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r--src/gui/serverdialog.cpp2
1 files changed, 1 insertions, 1 deletions
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())