From f30fafaceab207124c9c419a2f7160aec9e581f1 Mon Sep 17 00:00:00 2001 From: Yury Melnichek Date: Sat, 23 Apr 2011 13:40:45 +0200 Subject: [PATCH] Change PointD <--> PointU conversion such that there are no points on RectId corners, except on the border of the world. Conflicts: indexer/point_to_int64.cpp --- indexer/point_to_int64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indexer/point_to_int64.cpp b/indexer/point_to_int64.cpp index 70018646bc..bc0e429d88 100644 --- a/indexer/point_to_int64.cpp +++ b/indexer/point_to_int64.cpp @@ -14,7 +14,7 @@ namespace { -inline double CoordSize(uint32_t coordBits) { return (1 << coordBits); } +inline double CoordSize(uint32_t coordBits) { return (1 << coordBits) - 1; } }