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 1a3fd08..bc343e1 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);