From c645e10df038fc2e0542a9451cf6e968fb507594 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 27 May 2009 14:20:16 +0000 Subject: [PATCH] Issue 0020368: SMESHGUI_MeshDlg::isTabEnabled must return something --- src/SMESH_I/SMESH_Filter_i.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMESH_I/SMESH_Filter_i.cxx b/src/SMESH_I/SMESH_Filter_i.cxx index a7b634120..bd92ee2d4 100644 --- a/src/SMESH_I/SMESH_Filter_i.cxx +++ b/src/SMESH_I/SMESH_Filter_i.cxx @@ -2516,7 +2516,7 @@ CORBA::Boolean Filter_i::SetCriteria( const SMESH::Filter::Criteria& theCriteria { SMESH::ElemGeomType_ptr tmpPred = aFilterMgr->CreateElemGeomType(); tmpPred->SetElementType( aTypeOfElem ); - tmpPred->SetGeometryType( (GeometryType)(aThreshold + 0.5) ); + tmpPred->SetGeometryType( (GeometryType)(int)(aThreshold + 0.5) ); aPredicate = tmpPred; break; } -- 2.30.2