diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-08-20 17:57:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-08-20 17:57:03 +0300 |
commit | 80990bd472f849fc33083bbc5eceab1df129c223 (patch) | |
tree | 48e3380f35c9808cfa5308343d4f702ec311c7ce /src/gui | |
parent | 0d99a4950df52de9e72c9adc3c7661a286349acb (diff) | |
download | manaverse-80990bd472f849fc33083bbc5eceab1df129c223.tar.gz manaverse-80990bd472f849fc33083bbc5eceab1df129c223.tar.bz2 manaverse-80990bd472f849fc33083bbc5eceab1df129c223.tar.xz manaverse-80990bd472f849fc33083bbc5eceab1df129c223.zip |
Fix compilation warning.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/serverdialog.cpp | 2 |
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()) |