From: vsr Date: Wed, 1 Oct 2008 03:36:20 +0000 (+0000) Subject: Issue 0019992: Compile KERNEL in -Werror mode X-Git-Tag: RELIQUAT_4x_25102008~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=60980510f6b72afc1d96dac040725ff951991847;p=modules%2Fkernel.git Issue 0019992: Compile KERNEL in -Werror mode --- diff --git a/src/HDFPersist/HDFattrWrite.c b/src/HDFPersist/HDFattrWrite.c index faac557fc..844d21190 100644 --- a/src/HDFPersist/HDFattrWrite.c +++ b/src/HDFPersist/HDFattrWrite.c @@ -48,7 +48,7 @@ hdf_err HDFattrWrite(hdf_idt id, void *val) #ifdef PCLINUX 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,NULL) < 0) + if (H5Tconvert(H5T_NATIVE_INT,H5T_STD_I32BE,1,(void *)val,NULL,(hid_t)NULL) < 0) return -1; } #endif @@ -57,7 +57,7 @@ hdf_err HDFattrWrite(hdf_idt id, void *val) #ifdef PCLINUX - if (isI32BE && (H5Tconvert(H5T_STD_I32BE,H5T_NATIVE_INT,1,(void *)val,NULL,NULL) < 0)) + if (isI32BE && (H5Tconvert(H5T_STD_I32BE,H5T_NATIVE_INT,1,(void *)val,NULL,(hid_t)NULL) < 0)) return -1; #endif