diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-06-09 19:16:59 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-06-09 19:16:59 (GMT) |
commit | 3fcef502ea6188b243b1907d04e4cbe9d351bd8a (patch) | |
tree | 01779eba7ed08e7769d4f7690a5c3dc91b2039a8 /test/tselect.c | |
parent | 007adfc4525c2b7e7bbfd27e0f1a4c569687cf2e (diff) | |
download | hdf5-3fcef502ea6188b243b1907d04e4cbe9d351bd8a.zip hdf5-3fcef502ea6188b243b1907d04e4cbe9d351bd8a.tar.gz hdf5-3fcef502ea6188b243b1907d04e4cbe9d351bd8a.tar.bz2 |
[svn-r7001] Purpose:
Code cleanup
Description:
Reduce warnings when compiled with --enable_hdf5v1_4 compatibility switch.
Platforms tested:
FreeBSD 4.8 (sleipnir)
h5committest
Diffstat (limited to 'test/tselect.c')
-rw-r--r-- | test/tselect.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/tselect.c b/test/tselect.c index c08a611..6e4c07d 100644 --- a/test/tselect.c +++ b/test/tselect.c @@ -6173,7 +6173,11 @@ test_select(void) CHECK(plist_id, FAIL, "H5Pcreate"); /* test I/O with a very small buffer for reads */ - ret=H5Pset_buffer(plist_id,59,NULL,NULL); +#ifdef H5_WANT_H5_V1_4_COMPAT + ret=H5Pset_buffer(plist_id,(hsize_t)59,NULL,NULL); +#else /* H5_WANT_H5_V1_4_COMPAT */ + ret=H5Pset_buffer(plist_id,(size_t)59,NULL,NULL); +#endif /* H5_WANT_H5_V1_4_COMPAT */ CHECK(ret, FAIL, "H5Pset_buffer"); /* These next tests use the same file */ |