]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Windows compatibility
authorana <ana@opencascade.com>
Tue, 7 Apr 2015 13:54:28 +0000 (16:54 +0300)
committerana <ana@opencascade.com>
Tue, 7 Apr 2015 13:54:28 +0000 (16:54 +0300)
src/GEOMImpl/GEOMImpl_ShapeDriver.cxx

index 7a55d6cd41f62aede27d23df5cc758b674abc4e9..8ad9f43494854ec3356a7809a157fccbe7d5c03f 100644 (file)
@@ -1601,7 +1601,7 @@ GetCreationInformation(std::string&             theOperationName,
       AddParam( theParams, "Shape", shapes->Value(2) );
     AddParam( theParams, "Shape type", TopAbs_ShapeEnum( aCI.GetSubShapeType() ));
     AddParam( theParams, "State" );
-    GEOMAlgo_State st = GEOMAlgo_State( (int) aCI.GetTolerance()+0.1 );
+    GEOMAlgo_State st = GEOMAlgo_State( (int) ( aCI.GetTolerance()+0.1 ) );
     const char* stName[] = { "UNKNOWN","IN","OUT","ON","ONIN","ONOUT","INOUT" };
     if ( 0 <= st && st <= GEOMAlgo_ST_INOUT )
       theParams.back() << stName[ st ];