From: eap Date: Wed, 16 Mar 2022 11:39:19 +0000 (+0300) Subject: [bos #26398] [CEA] convert cgns to HDF Invalid Data-Type X-Git-Tag: V9_9_0a2~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6938ef133c76761f5e8cd9b76813b584c4a98dd0;p=modules%2Fsmesh.git [bos #26398] [CEA] convert cgns to HDF Invalid Data-Type Fix compilation with -DCGNS_ENABLE_64BIT:BOOL=ON --- diff --git a/src/DriverCGNS/DriverCGNS_Read.cxx b/src/DriverCGNS/DriverCGNS_Read.cxx index 5afdfa3e7..b50b01295 100644 --- a/src/DriverCGNS/DriverCGNS_Read.cxx +++ b/src/DriverCGNS/DriverCGNS_Read.cxx @@ -217,7 +217,8 @@ namespace */ //================================================================================ - bool isEqualNodes( const int* nIds1, const int* nIds2, int nbNodes, SMESHDS_Mesh* mesh ) + bool isEqualNodes( const cgsize_t* nIds1, const cgsize_t* nIds2, size_t nbNodes, + SMESHDS_Mesh* mesh ) { if ( nbNodes > 0 ) { @@ -317,7 +318,7 @@ namespace } // check if range and donorRange describe the same nodes { - int ids1[2], ids2[2], nbN = 0; + cgsize_t ids1[2], ids2[2], nbN = 0; TPointRangeIterator rangeIt1bis( range, _meshDim ); index1 = rangeIt1bis.Next(); index2 = T * ( index1 - begin1 ) + begin2;