diff --git a/src/MAT2d/MAT2d_Tool2d.cxx b/src/MAT2d/MAT2d_Tool2d.cxx index 0175199994..8b4324d660 100644 --- a/src/MAT2d/MAT2d_Tool2d.cxx +++ b/src/MAT2d/MAT2d_Tool2d.cxx @@ -1078,7 +1078,7 @@ void MAT2d_Tool2d::Dump(const Standard_Integer bisector, if(bisector == -1) return; if(bisector > theNumberOfBisectors) return; - Handle(Geom2d_Curve) thebisector = GeomBis(bisector).Value(); + Handle(Geom2d_Curve) thebisector = (Handle(Geom2d_Curve)) GeomBis(bisector).Value(); MAT2d_DrawCurve(thebisector,3);