From: dmv Date: Fri, 17 Sep 2010 08:35:02 +0000 (+0000) Subject: IPAL21988 WinTC5.1.4: Mesh data is not restored when study saved on linux station... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f82558ebc70ab7326a5260e7f0e509ca2d10972f;p=modules%2Fkernel.git IPAL21988 WinTC5.1.4: Mesh data is not restored when study saved on linux station is opened on windows --- diff --git a/src/HDFPersist/HDFdatasetRead.c b/src/HDFPersist/HDFdatasetRead.c index 843f2d717..e3dc6b13a 100644 --- a/src/HDFPersist/HDFdatasetRead.c +++ b/src/HDFPersist/HDFdatasetRead.c @@ -46,10 +46,10 @@ hdf_err HDFdatasetRead(hdf_idt id, void *val) if ((datatype = H5Dget_type(id)) < 0) return -1; -#if defined (PCLINUX) || defined (PCLINUX64) +//#if defined (PCLINUX) || defined (PCLINUX64) if ((H5Tget_class(datatype) == H5T_INTEGER) && (H5Tget_size(datatype) == 4)) datatype = H5T_NATIVE_INT; -#endif +//#endif if ((ret = H5Dread(id,datatype,H5S_ALL,H5S_ALL,H5P_DEFAULT, val)) < 0) return -1;