]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
bos #20256 [CEA 18523] Porting SMESH to int 64 bits
authoreap <eap@opencascade.com>
Thu, 29 Apr 2021 10:51:32 +0000 (13:51 +0300)
committereap <eap@opencascade.com>
Thu, 29 Apr 2021 10:51:32 +0000 (13:51 +0300)
  Fix import huge mesh from MED

src/DriverMED/DriverMED_R_SMESHDS_Mesh.cxx

index 1a3fd08a51c68658265f564b25f34b8b3fb0d9d9..bc343e1b5937dca569240f7761184f4410fdee17 100644 (file)
@@ -503,7 +503,7 @@ Driver_Mesh::Status DriverMED_R_SMESHDS_Mesh::Perform()
             default:;
             }
             vector<TInt> aNodeIds(aNbNodes);
-            for ( int iElem = 0; iElem < aNbElems; iElem++ )
+            for ( TInt iElem = 0; iElem < aNbElems; iElem++ )
             {
               bool anIsValidConnect = false;
               TCConnSlice aConnSlice = aCellInfo->GetConnSlice(iElem);