for( ; aMIt.More(); aMIt.Next() )
{
//std::cout << " " << aMIt.Value() << std::endl;
- int aKey = (int)aMIt.Value().TShape().operator->();
+ int aKey = (int)(uintptr_t)aMIt.Value().TShape().operator->();
aShapesFromNewFace.Add( aKey );
}
{
TopoDS_Shape aShape = aMIt.Value();
bool isFace = aShape.ShapeType()==TopAbs_FACE;
- int aKey = (int)aShape.TShape().operator->();
+ int aKey = (int)(uintptr_t)aShape.TShape().operator->();
bool isAlsoFromNew = aShapesFromNewFace.Contains( aKey );
//std::cout << " " << aShape << " " << isAlsoFromNew << std::endl;
if( isFace && !isAlsoFromNew )