From eac5a8255f130a01dace3d5930e714f90f723365 Mon Sep 17 00:00:00 2001 From: mpv Date: Wed, 22 Jun 2016 10:37:19 +0300 Subject: [PATCH] Fix for problems of compilation on Windows --- src/GeomAlgoAPI/GeomAlgoAPI_DirectAPI.h | 2 +- src/GeomAlgoAPI/GeomAlgoAPI_MakeShape.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_DirectAPI.h b/src/GeomAlgoAPI/GeomAlgoAPI_DirectAPI.h index 26a7e82fd..ef804ed78 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_DirectAPI.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_DirectAPI.h @@ -19,7 +19,7 @@ namespace GeomAlgoAPI_DirectAPI * \ingroup DataAlgo * \brief Allows to access the direct API */ -class GeomAlgoAPI_DirectAPI +class GEOMALGOAPI_EXPORT GeomAlgoAPI_DirectAPI { public: /// Creates a box using the dimensions. diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_MakeShape.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_MakeShape.cpp index 4f74d5aef..e8a372682 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_MakeShape.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_MakeShape.cpp @@ -204,7 +204,7 @@ void GeomAlgoAPI_MakeShape::initialize() { //================================================================================================= void GeomAlgoAPI_MakeShape::prepareNamingFaces() { - int index = 1; + long double index = 1; GeomAPI_ShapeExplorer anExp(shape(), GeomAPI_Shape::FACE); for(GeomAPI_ShapeExplorer anExp(shape(), GeomAPI_Shape::FACE); anExp.more(); anExp.next()) { std::shared_ptr aFace = anExp.current(); -- 2.39.2