Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <deathbaba@gmail.com>2011-03-07 06:17:09 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:13:02 +0300
commit2a0b7c51aaf3d980c96376ebaf0aae8aee0d7f54 (patch)
treeda20f6e5b857d45199a7ec35db1e5b6cb14aaa44 /qt/update_dialog.cpp
parentdb5ecf18246d24795715422cfa821ca01aad0b99 (diff)
Fixed compilation warnings
Diffstat (limited to 'qt/update_dialog.cpp')
-rw-r--r--qt/update_dialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/qt/update_dialog.cpp b/qt/update_dialog.cpp
index ac2db27aa2..18668ce8a9 100644
--- a/qt/update_dialog.cpp
+++ b/qt/update_dialog.cpp
@@ -302,7 +302,7 @@ namespace qt
m_tree->setSortingEnabled(false);
m_tree->clear();
- for (int group = 0; group < m_storage.CountriesCount(TIndex()); ++group)
+ for (int group = 0; group < static_cast<int>(m_storage.CountriesCount(TIndex())); ++group)
{
TIndex const grIndex(group);
QStringList groupText(m_storage.CountryName(grIndex).c_str());
@@ -312,7 +312,7 @@ namespace qt
// set color by status and update country size
UpdateRowWithCountryInfo(grIndex);
- for (int country = 0; country < m_storage.CountriesCount(grIndex); ++country)
+ for (int country = 0; country < static_cast<int>(m_storage.CountriesCount(grIndex)); ++country)
{
TIndex cIndex(group, country);
QStringList countryText(m_storage.CountryName(cIndex).c_str());
@@ -321,7 +321,7 @@ namespace qt
// set color by status and update country size
UpdateRowWithCountryInfo(cIndex);
- for (int region = 0; region < m_storage.CountriesCount(cIndex); ++region)
+ for (int region = 0; region < static_cast<int>(m_storage.CountriesCount(cIndex)); ++region)
{
TIndex const rIndex(group, country, region);
QStringList regionText(m_storage.CountryName(rIndex).c_str());