fix warnings about arithmetic operations on enum

cherry-pick of 364009
This commit is contained in:
Sébastien Loriot
2021-11-29 17:59:12 +01:00
parent 75b482b4f8
commit 993a7b29b0
11 changed files with 47 additions and 29 deletions
@@ -4602,7 +4602,7 @@ namespace HomogeneousKernelFunctors {
result_type
operator()( const Circle_2& c, const Point_2& p) const
{ return Oriented_side(c.bounded_side(p) * c.orientation()); }
{ return Oriented_side(static_cast<int>(c.bounded_side(p)) * static_cast<int>(c.orientation())); }
result_type
operator()( const Line_2& l, const Point_2& p) const