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-10-02 03:18:12 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:24:56 +0300
commit237ce291562485c674c8f70793a5574368692847 (patch)
tree52103f92e9198f394a3a8c3c2385bcad57a828cf /geometry
parentcdd9091e04808da8e7cdc5d102614b9a75437759 (diff)
Warning fixes
Diffstat (limited to 'geometry')
-rw-r--r--geometry/cellid.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/geometry/cellid.hpp b/geometry/cellid.hpp
index b58afb5422..01060bf8b6 100644
--- a/geometry/cellid.hpp
+++ b/geometry/cellid.hpp
@@ -134,7 +134,7 @@ public:
for (size_t i = 0; i < level; ++i)
{
ASSERT((s[i] >= '0') && (s[i] <= '3'), (s, i));
- bits = (bits << 2) | (s[i] - '0');
+ bits = (bits << 2) | static_cast<uint64_t>(s[i] - '0');
}
return CellId(bits, static_cast<int>(level));
}