From 2894f56511a2c7b5a8b5290e859a40380f485720 Mon Sep 17 00:00:00 2001 From: ana Date: Fri, 1 Apr 2016 18:46:21 +0300 Subject: [PATCH] Windows compatibility --- src/GEOMImpl/GEOMImpl_IShapesOperations.hxx | 2 +- src/GEOM_I/GEOM_IShapesOperations_i.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GEOMImpl/GEOMImpl_IShapesOperations.hxx b/src/GEOMImpl/GEOMImpl_IShapesOperations.hxx index d45ad5419..03882dda5 100644 --- a/src/GEOMImpl/GEOMImpl_IShapesOperations.hxx +++ b/src/GEOMImpl/GEOMImpl_IShapesOperations.hxx @@ -499,7 +499,7 @@ class GEOMImpl_IShapesOperations : public GEOM_IOperations * \param theStats the operation statistics. Output parameter. * \return the shape without extracted sub-shapes. */ - Handle(GEOM_Object) MakeExtraction + Standard_EXPORT Handle(GEOM_Object) MakeExtraction (const Handle(GEOM_Object) &theShape, const Handle(TColStd_HArray1OfInteger) &theSubShapeIDs, std::list &theStats); diff --git a/src/GEOM_I/GEOM_IShapesOperations_i.cc b/src/GEOM_I/GEOM_IShapesOperations_i.cc index 02dcdcf91..325612adb 100644 --- a/src/GEOM_I/GEOM_IShapesOperations_i.cc +++ b/src/GEOM_I/GEOM_IShapesOperations_i.cc @@ -2320,7 +2320,7 @@ GEOM::GEOM_Object_ptr GEOM_IShapesOperations_i::MakeExtraction aResStat->indices = aResIDList; - theStats[i] = aResStat; + theStats[(_CORBA_ULong)i] = aResStat; } return GetObject(aResult); -- 2.39.2