From f29894eaa8d012fd57070101a41bfcbe93558f13 Mon Sep 17 00:00:00 2001 From: rnv Date: Wed, 29 Jan 2020 21:40:49 +0300 Subject: [PATCH] #18634 [CEA] [Windows] MEDReader files failure --- src/MEDLoader/MEDFileBasis.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MEDLoader/MEDFileBasis.hxx b/src/MEDLoader/MEDFileBasis.hxx index 22b772f00..2b4f80f5c 100644 --- a/src/MEDLoader/MEDFileBasis.hxx +++ b/src/MEDLoader/MEDFileBasis.hxx @@ -75,7 +75,7 @@ namespace MEDCoupling static DataArrayMedInt *New() { return new DataArrayMedInt(); } DataArrayMedInt *deepCopy() const { return new DataArrayMedInt(*this); } //DataArrayMedInt *buildNewEmptyInstance() const { return new DataArrayMedInt(); }//ko - DataArray *buildNewEmptyInstance() const { if ( sizeof(med_int)==sizeof(long)) return DataArrayInt64::New(); return DataArrayInt32::New(); } + DataArray *buildNewEmptyInstance() const { if ( sizeof(med_int)==sizeof(int)) return DataArrayInt32::New(); return DataArrayInt64::New(); } public: DataArray *selectByTupleId(const mcIdType *new2OldBg, const mcIdType *new2OldEnd) const { return this->mySelectByTupleId(new2OldBg,new2OldEnd); } DataArray *selectByTupleId(const DataArrayIdType& di) const { return this->mySelectByTupleId(di); } -- 2.39.2