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:
authorrachytski <siarhei.rachytski@gmail.com>2013-01-15 21:15:09 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:48:53 +0300
commitd95863bfcd3d306d642fdeb06552a926710037a6 (patch)
tree111a8aec2da4fb1d73ae963a775200de1b8cc12a /geometry
parent85c9b1802392d311a28ef9ae962193c5af8e49d1 (diff)
fixed mapInfo for array of Resource::Info's
Diffstat (limited to 'geometry')
-rw-r--r--geometry/packer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/geometry/packer.cpp b/geometry/packer.cpp
index 4cd0fb60c1..6eb77fed84 100644
--- a/geometry/packer.cpp
+++ b/geometry/packer.cpp
@@ -13,7 +13,7 @@ namespace m2
m_height(0),
m_currentHandle(0),
m_maxHandle(0),
- m_invalidHandle(static_cast<uint32_t>(-1))
+ m_invalidHandle(0x00FFFFFF)
{}
Packer::Packer(unsigned width, unsigned height, uint32_t maxHandle)
@@ -24,7 +24,7 @@ namespace m2
m_height(height),
m_currentHandle(0),
m_maxHandle(maxHandle),
- m_invalidHandle(maxHandle + 1)
+ m_invalidHandle(0x00FFFFFF)
{
}