From 6938ef133c76761f5e8cd9b76813b584c4a98dd0 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 16 Mar 2022 14:39:19 +0300 Subject: [PATCH] [bos #26398] [CEA] convert cgns to HDF Invalid Data-Type Fix compilation with -DCGNS_ENABLE_64BIT:BOOL=ON --- src/DriverCGNS/DriverCGNS_Read.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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;