From 8216083737eb0c4d1e301ba50ab6727ab50eb6cf Mon Sep 17 00:00:00 2001 From: Viktor UZLOV Date: Thu, 25 Feb 2021 11:33:19 +0300 Subject: [PATCH] fix for 64bit mode --- src/HYBRIDPlugin/HYBRIDPlugin_Hypothesis.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/HYBRIDPlugin/HYBRIDPlugin_Hypothesis.cxx b/src/HYBRIDPlugin/HYBRIDPlugin_Hypothesis.cxx index fca5068..7b151e3 100644 --- a/src/HYBRIDPlugin/HYBRIDPlugin_Hypothesis.cxx +++ b/src/HYBRIDPlugin/HYBRIDPlugin_Hypothesis.cxx @@ -946,8 +946,8 @@ bool HYBRIDPlugin_Hypothesis::SetEnforcedGroup(const SMESHDS_Mesh* theMeshDS, SM { TIDSortedElemSet theElemSet; if ( theIDs->length() == 0 ){MESSAGE("The source group is empty");} - for ( CORBA::ULong i = 0; i < theIDs->length(); i++) { - CORBA::Long ind = theIDs[i]; + for ( SMESH::smIdType i = 0; i < theIDs->length(); i++) { + SMESH::smIdType ind = theIDs[i]; if (elementType == SMESH::NODE) { const SMDS_MeshNode * node = theMeshDS->FindNode(ind); -- 2.39.2