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-04-25 07:50:21 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:16:25 +0300
commit47bbc46b9fc6a7f13f77f09c8c0a5437fbad1fce (patch)
tree0d8cb5b1e178a2636b0c7319d9358ac10c5cdf0d /geometry
parent0f5d7d5084b60c151ff0a2b8e28d175ddd2efb80 (diff)
Fixed warnings
Diffstat (limited to 'geometry')
-rw-r--r--geometry/region2d.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/geometry/region2d.hpp b/geometry/region2d.hpp
index 639092964a..cfd5d05228 100644
--- a/geometry/region2d.hpp
+++ b/geometry/region2d.hpp
@@ -143,8 +143,8 @@ namespace m2
{
bool const PrevGreaterCurr = delta > 0.0;
- if (rCheck && (cp > 0 == PrevGreaterCurr)) ++rCross;
- if (lCheck && (cp > 0 != PrevGreaterCurr)) ++lCross;
+ if (rCheck && ((cp > 0) == PrevGreaterCurr)) ++rCross;
+ if (lCheck && ((cp > 0) != PrevGreaterCurr)) ++lCross;
}
}