summaryrefslogtreecommitdiffstats
path: root/test/th5s.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-07-01 20:02:47 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-07-01 20:02:47 (GMT)
commite5e786f589896da6f6414da51b56ccc119df8adb (patch)
tree69c21934ad23b0b71326a8fb8b40c384aca92f24 /test/th5s.c
parenteab58732d86e9219fa9f41f9ab2e30fae94e4a7d (diff)
downloadhdf5-e5e786f589896da6f6414da51b56ccc119df8adb.zip
hdf5-e5e786f589896da6f6414da51b56ccc119df8adb.tar.gz
hdf5-e5e786f589896da6f6414da51b56ccc119df8adb.tar.bz2
[svn-r8782] Purpose:
Code cleanup Description: Clean up almost all warnings from Windows builds. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest
Diffstat (limited to 'test/th5s.c')
-rw-r--r--test/th5s.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/th5s.c b/test/th5s.c
index deb2dae..f77f0cd 100644
--- a/test/th5s.c
+++ b/test/th5s.c
@@ -362,7 +362,7 @@ test_h5s_null(void)
VERIFY(stype, H5S_NULL, "H5Sget_simple_extent_type");
/* Verify there is zero element in the dataspace */
- ret = H5Sget_simple_extent_npoints(dset_sid2);
+ ret = (herr_t)H5Sget_simple_extent_npoints(dset_sid2);
VERIFY(ret, 0, "H5Sget_simple_extent_npoints");
/* Try reading from the dataset (make certain our buffer is unmodified) */
@@ -390,7 +390,7 @@ test_h5s_null(void)
VERIFY(stype, H5S_NULL, "H5Sget_simple_extent_type");
/* Verify there is zero element in the dataspace */
- ret = H5Sget_simple_extent_npoints(attr_sid);
+ ret = (herr_t)H5Sget_simple_extent_npoints(attr_sid);
VERIFY(ret, 0, "H5Sget_simple_extent_npoints");
/* Close the dataspace */