]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/GEOMImpl/GEOMImpl_ShapeDriver.cxx
Salome HOME
Compilation SALOME on Windows
[modules/geom.git] / src / GEOMImpl / GEOMImpl_ShapeDriver.cxx
index e89a67fd8357d5f7ec57f358308427e31d0e21ca..0ec4b35e6addff5a35d9fe1cd1fa878c10ab5b6f 100644 (file)
@@ -1043,7 +1043,7 @@ GetCreationInformation(std::string&             theOperationName,
     if ( !shapes.IsNull() && shapes->Length() > 1 )
       AddParam( theParams, "Shape", shapes->Value(2) );
     AddParam( theParams, "Shape type", TopAbs_ShapeEnum( aCI.GetSubShapeType() ));
-    AddParam( theParams, "State", TopAbs_State( aCI.GetTolerance() ));
+    AddParam( theParams, "State", TopAbs_State((int) aCI.GetTolerance() ));
     break;
   }
   default: