From f82558ebc70ab7326a5260e7f0e509ca2d10972f Mon Sep 17 00:00:00 2001 From: dmv Date: Fri, 17 Sep 2010 08:35:02 +0000 Subject: [PATCH] IPAL21988 WinTC5.1.4: Mesh data is not restored when study saved on linux station is opened on windows --- src/HDFPersist/HDFdatasetRead.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2