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/old
parent655b6f0a2833dc39a8c08199ecde85b5c739088b (diff)
warnings fix
Diffstat (limited to 'indexer/old')
-rw-r--r--indexer/old/feature_loader_101.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indexer/old/feature_loader_101.cpp b/indexer/old/feature_loader_101.cpp
index b7c58ff7c5..3cc54b07b6 100644
--- a/indexer/old/feature_loader_101.cpp
+++ b/indexer/old/feature_loader_101.cpp
@@ -374,10 +374,10 @@ uint32_t LoaderImpl::ParseGeometry(int scale)
ASSERT_LESS ( scaleIndex, m_Info.GetScalesCount(), () );
points.push_back(m_pF->m_points.front());
- for (size_t i = 1; i < count-1; ++i)
+ for (size_t i = 1; i < count - 1; ++i)
{
// check for point visibility in needed scaleIndex
- if (((m_ptsSimpMask >> (2*(i-1))) & 0x3) <= scaleIndex)
+ if (static_cast<int>((m_ptsSimpMask >> (2 * (i - 1))) & 0x3) <= scaleIndex)
points.push_back(m_pF->m_points[i]);
}
points.push_back(m_pF->m_points.back());
@@ -398,7 +398,7 @@ uint32_t LoaderImpl::ParseTriangles(int scale)
{
if (m_pF->m_triangles.empty())
{
- uint32_t const ind = GetScaleIndex(scale, m_trgOffsets);
+ auto const ind = GetScaleIndex(scale, m_trgOffsets);
if (ind != -1)
{
ReaderSource<FilesContainerR::TReader> src(m_Info.GetTrianglesReader(ind));