summaryrefslogtreecommitdiffstats
path: root/test/tselect.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-06-09 19:16:59 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-06-09 19:16:59 (GMT)
commit3fcef502ea6188b243b1907d04e4cbe9d351bd8a (patch)
tree01779eba7ed08e7769d4f7690a5c3dc91b2039a8 /test/tselect.c
parent007adfc4525c2b7e7bbfd27e0f1a4c569687cf2e (diff)
downloadhdf5-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.c6
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 */