From: ana Date: Tue, 7 Apr 2015 13:54:28 +0000 (+0300) Subject: Windows compatibility X-Git-Tag: V7_6_0b1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a106e4f70b3d51282bf39d3ec7f4c76e1f3d4a85;p=modules%2Fgeom.git Windows compatibility --- diff --git a/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx b/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx index 7a55d6cd4..8ad9f4349 100644 --- a/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx @@ -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 ];