[PATCH] Fix gcc 4.4.5 error - BRepTools_Modifier.cxx

https://github.com/tpaviot/oce/commit/2101c046536f56a04c727fd32c3b4e42f7...

OCC650PATCH

--- a/ros/src/BRepTools/BRepTools_Modifier.cxx
+++ b/ros/src/BRepTools/BRepTools_Modifier.cxx
@@ -372,7 +372,7 @@ Standard_Boolean BRepTools_Modifier::Rebuild
if ( ! isClosed )
{
TopLoc_Location aLoc;
- TopoDS_Shape resface = (myMap.IsBound(face) ? myMap(face) : face);
+ TopoDS_Shape resface = (myMap.IsBound(face) ? myMap(face) : (TopoDS_Shape)face);
if(resface.IsNull())
resface = face;
Handle(Geom_Surface) aSurf = BRep_Tool::Surface(TopoDS::Face(resface), aLoc);

Mark's picture

Ack! This patch is not necessary with the official sources. I need to dig into this and figure out what the @%$^@%# is going on.

Sorry
Mark