From 4b5857d330d381ea52951f7b64336b455187a948 Mon Sep 17 00:00:00 2001 From: ski Date: Tue, 26 Apr 2016 16:02:32 +0300 Subject: [PATCH] 0027435: Compilation error on Linux platfrom in Debug mode with enabled OCCT_DEBUG definition Error was fixed. --- src/MAT2d/MAT2d_Tool2d.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5