From: adam Date: Mon, 21 Feb 2011 12:01:11 +0000 (+0000) Subject: Remove warnings X-Git-Tag: Start_BR_19998_21191~58 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a7a1147d4b4b217c5eee783f67e6748610d4a614;p=modules%2Fkernel.git Remove warnings --- diff --git a/src/HDFPersist/HDFattrWrite.c b/src/HDFPersist/HDFattrWrite.c index dbd90b2ba..5626719fd 100644 --- a/src/HDFPersist/HDFattrWrite.c +++ b/src/HDFPersist/HDFattrWrite.c @@ -52,7 +52,7 @@ hdf_err HDFattrWrite(hdf_idt id, void *val) #if defined (PCLINUX) || defined (PCLINUX64) if((H5Tget_class(type_id) == H5T_INTEGER) && (H5Tget_size(type_id) == 4)) { isI32BE = 1; /* See HDFattrCreate */ - if (H5Tconvert(H5T_NATIVE_INT,H5T_STD_I32BE,1,(void *)val,NULL,(hid_t)NULL) < 0) + if (H5Tconvert(H5T_NATIVE_INT,H5T_STD_I32BE,1,(void *)val,NULL,(hid_t)0) < 0) return -1; } #endif @@ -61,7 +61,7 @@ hdf_err HDFattrWrite(hdf_idt id, void *val) #if defined (PCLINUX) || defined (PCLINUX64) - if (isI32BE && (H5Tconvert(H5T_STD_I32BE,H5T_NATIVE_INT,1,(void *)val,NULL,(hid_t)NULL) < 0)) + if (isI32BE && (H5Tconvert(H5T_STD_I32BE,H5T_NATIVE_INT,1,(void *)val,NULL,(hid_t)0) < 0)) return -1; #endif