summaryrefslogtreecommitdiff
path: root/boost/geometry/algorithms/area.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/geometry/algorithms/area.hpp')
-rw-r--r--boost/geometry/algorithms/area.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/geometry/algorithms/area.hpp b/boost/geometry/algorithms/area.hpp
index 919ab66fe1..8193200ab9 100644
--- a/boost/geometry/algorithms/area.hpp
+++ b/boost/geometry/algorithms/area.hpp
@@ -92,7 +92,7 @@ struct ring_area
// An open ring has at least three points,
// A closed ring has at least four points,
// if not, there is no (zero) area
- if (boost::size(ring)
+ if (int(boost::size(ring))
< core_detail::closure::minimum_ring_size<Closure>::value)
{
return type();