]> SALOME platform Git repositories - plugins/hybridplugin.git/commitdiff
Salome HOME
fix for 64bit mode vuzlov/20256
authorViktor UZLOV <vuzlov@debian10-01.nnov.opencascade.com>
Thu, 25 Feb 2021 08:33:19 +0000 (11:33 +0300)
committerViktor UZLOV <vuzlov@debian10-01.nnov.opencascade.com>
Thu, 25 Feb 2021 08:33:19 +0000 (11:33 +0300)
src/HYBRIDPlugin/HYBRIDPlugin_Hypothesis.cxx

index fca5068a6cf1a67d378a2696cfe6fba1e4b3aaf5..7b151e3cbce1d5a56993a512fa9cbfddb683b5fd 100644 (file)
@@ -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);