diff options
author | Sergey Yershov <yershov@corp.mail.ru> | 2015-03-17 16:04:42 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:39:56 +0300 |
commit | 3848db2389318c41b7c29a74cf9e5f2ba7e331dc (patch) | |
tree | d2716c5a3d833c768dd4f94b22944c1fee18f822 /geometry | |
parent | a97b51a6aaa759dc584f6f133d7aeee739aad62c (diff) |
fixed warning in [indexer]
Diffstat (limited to 'geometry')
-rw-r--r-- | geometry/simplification.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/geometry/simplification.hpp b/geometry/simplification.hpp index 85b227151f..beda67df76 100644 --- a/geometry/simplification.hpp +++ b/geometry/simplification.hpp @@ -90,7 +90,7 @@ template <typename DistanceF, typename IterT, typename OutT> void SimplifyNearOptimal(int kMaxFalseLookAhead, IterT beg, IterT end, double epsilon, DistanceF dist, OutT out) { - int32_t const n = end - beg; + int32_t const n = static_cast<int32_t>(end - beg); if (n <= 2) { for (IterT it = beg; it != end; ++it) |