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:
authorArsentiy Milchakov <milcars@mapswithme.com>2017-03-21 12:35:00 +0300
committerArsentiy Milchakov <milcars@mapswithme.com>2017-03-22 15:48:06 +0300
commit431299e98329b863b2518ed863c918bc0501256d (patch)
treec36c2e412182daa911c4ed17cf81c3b8b416129d /indexer/scale_index_builder.hpp
parent655b6f0a2833dc39a8c08199ecde85b5c739088b (diff)
warnings fix
Diffstat (limited to 'indexer/scale_index_builder.hpp')
-rw-r--r--indexer/scale_index_builder.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/scale_index_builder.hpp b/indexer/scale_index_builder.hpp
index d1a16a84b5..eb4fedce28 100644
--- a/indexer/scale_index_builder.hpp
+++ b/indexer/scale_index_builder.hpp
@@ -60,7 +60,7 @@ public:
// This is not immediately obvious and in fact there was an idea to map
// a bucket to a contiguous range of scales.
// todo(@pimenov): We probably should remove scale_index.hpp altogether.
- if (!FeatureShouldBeIndexed(ft, bucket, bucket == minScaleClassif /* needReset */))
+ if (!FeatureShouldBeIndexed(ft, static_cast<int>(bucket), bucket == minScaleClassif /* needReset */))
{
continue;
}
@@ -82,7 +82,7 @@ private:
// -- it is allowed by the classificator.
// If the feature is invisible at all scales, do not index it.
template <class TFeature>
- bool FeatureShouldBeIndexed(TFeature const & ft, uint32_t scale, bool needReset) const
+ bool FeatureShouldBeIndexed(TFeature const & ft, int scale, bool needReset) const
{
while (m_scalesIdx < m_header.GetScalesCount() && m_header.GetScale(m_scalesIdx) < scale)
{