diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-11-03 22:27:54 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-11-03 22:27:54 (GMT) |
commit | 0001a136175eb59c3c2ff778c67e763bae73f473 (patch) | |
tree | 7ec60d039e634e43192f5e327b0c327b94e232d9 /src/H5FDstdio.c | |
parent | 3af26fa7a598221427d43fa8a1620cf18fbeb2dc (diff) | |
download | hdf5-0001a136175eb59c3c2ff778c67e763bae73f473.zip hdf5-0001a136175eb59c3c2ff778c67e763bae73f473.tar.gz hdf5-0001a136175eb59c3c2ff778c67e763bae73f473.tar.bz2 |
[svn-r4589] Purpose:
Code cleanup
Description:
Clean up various compiler warnings from generic property updates.
Platforms tested:
FreeBSD 4.4 (hawkwind)
Diffstat (limited to 'src/H5FDstdio.c')
-rw-r--r-- | src/H5FDstdio.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/H5FDstdio.c b/src/H5FDstdio.c index 3082f96..50828c6 100644 --- a/src/H5FDstdio.c +++ b/src/H5FDstdio.c @@ -15,7 +15,9 @@ #include <sys/stat.h> #include "hdf5.h" +#ifdef QAK #include "H5private.h" /* library function */ +#endif /* QAK */ #ifdef H5_HAVE_STDIO_H #include <stdio.h> @@ -228,8 +230,8 @@ H5Pset_fapl_stdio(hid_t fapl_id) /* Clear the error stack */ H5Eclear(); - if(H5I_GENPROP_LST != H5I_get_type(fapl_id) || - TRUE != H5Pisa_class(fapl_id, H5P_FILE_ACCESS)) { + if(H5I_GENPROP_LST != H5Iget_type(fapl_id) || + 0 == H5Pisa_class(fapl_id, H5P_FILE_ACCESS)) { H5Epush_ret(func, H5E_PLIST, H5E_BADTYPE, "not a file access property list", -1); } |