diff options
author | Sergey Yershov <yershov@corp.mail.ru> | 2015-03-30 13:17:40 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:41:31 +0300 |
commit | 0ee7be1d6abf08a6b43dfccb432bb78e0d07decc (patch) | |
tree | a9d6d9ed2f9c96ad3a393983d7417c888cc10b3f /geometry/spline.cpp | |
parent | 8c8dddf57145e435c8067f980fa28f75e0a5c76f (diff) |
Fix warning in [geometry] and added pragmas for suppress warning in 3-rd party code
Diffstat (limited to 'geometry/spline.cpp')
-rw-r--r-- | geometry/spline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/geometry/spline.cpp b/geometry/spline.cpp index 1f2048f1a4..499ff63bff 100644 --- a/geometry/spline.cpp +++ b/geometry/spline.cpp @@ -11,7 +11,7 @@ Spline::Spline(vector<PointD> const & path) { ASSERT(path.size() > 1, ("Wrong path size!")); m_position.assign(path.begin(), path.end()); - int cnt = m_position.size() - 1; + size_t cnt = m_position.size() - 1; m_direction = vector<PointD>(cnt); m_length = vector<double>(cnt); |