]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix the problem of compilation on Windows in another way: use decimal index (long...
authormpv <mpv@opencascade.com>
Thu, 4 Aug 2016 15:01:22 +0000 (18:01 +0300)
committermpv <mpv@opencascade.com>
Thu, 4 Aug 2016 15:01:22 +0000 (18:01 +0300)
src/GeomAlgoAPI/GeomAlgoAPI_MakeShape.cpp

index 061529b7d5923af651b4110bcab41ffaf83889a4..fa9e808bfb7e8188d6240cd0289c1c0f4fdf75a3 100644 (file)
@@ -209,7 +209,7 @@ void GeomAlgoAPI_MakeShape::initialize() {
 //=================================================================================================
 void GeomAlgoAPI_MakeShape::prepareNamingFaces()
 {
-  long double index = 1;
+  long long index = 1;
   GeomAPI_ShapeExplorer anExp(shape(), GeomAPI_Shape::FACE);
   for(GeomAPI_ShapeExplorer anExp(shape(), GeomAPI_Shape::FACE); anExp.more(); anExp.next()) {
     std::shared_ptr<GeomAPI_Shape> aFace = anExp.current();