From a106e4f70b3d51282bf39d3ec7f4c76e1f3d4a85 Mon Sep 17 00:00:00 2001 From: ana Date: Tue, 7 Apr 2015 16:54:28 +0300 Subject: [PATCH] Windows compatibility --- src/GEOMImpl/GEOMImpl_ShapeDriver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ]; -- 2.39.2