summaryrefslogtreecommitdiffstats
path: root/test/dsets.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-06-26 02:10:33 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-06-26 02:10:33 (GMT)
commit2629b6e4d3dce7b13ff6ee8d9ae14b04bb4bc22c (patch)
treebebc3180d77b92c7d200a2770dbafa8f4663abe8 /test/dsets.c
parentcb57304e9a603b9f7212e0c8c49ad7f85bca1e49 (diff)
downloadhdf5-2629b6e4d3dce7b13ff6ee8d9ae14b04bb4bc22c.zip
hdf5-2629b6e4d3dce7b13ff6ee8d9ae14b04bb4bc22c.tar.gz
hdf5-2629b6e4d3dce7b13ff6ee8d9ae14b04bb4bc22c.tar.bz2
[svn-r7109] Purpose:
Code cleanup Description: Clean up varios compiler warnings flagged by SGI compiler and gcc 3.3 Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
Diffstat (limited to 'test/dsets.c')
-rw-r--r--test/dsets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dsets.c b/test/dsets.c
index 868ede7..12883b9 100644
--- a/test/dsets.c
+++ b/test/dsets.c
@@ -1048,7 +1048,7 @@ set_local_bogus2(hid_t dcpl_id, hid_t type_id, hid_t UNUSED space_id)
/* Check for native integer datatype and set private property */
if(H5Tequal(type_id,H5T_NATIVE_INT)>0)
- add_on=H5Tget_size(type_id);
+ add_on=(unsigned)H5Tget_size(type_id);
/* Get the filter's current parameters */
if(H5Pget_filter_by_id(dcpl_id,H5Z_FILTER_BOGUS2,&flags,&cd_nelmts,
@@ -2685,8 +2685,8 @@ file)
#ifdef H5_HAVE_FILTER_SZIP
error:
-#endif /* H5_HAVE_FILTER_SZIP */
return -1;
+#endif /* H5_HAVE_FILTER_SZIP */
} /* end test_can_apply_szip() */
#ifndef H5_WANT_H5_V1_4_COMPAT