diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-04-18 04:10:36 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-04-18 04:10:36 (GMT) |
commit | d09b08ce39f96d70f1d68a9f2e0313495c784619 (patch) | |
tree | 63ba039519b469adb1fffd30261079ae0dcf93f1 /test/titerate.c | |
parent | 0343b61666f105ca865dcbc0cbcff87f43f5e489 (diff) | |
download | hdf5-d09b08ce39f96d70f1d68a9f2e0313495c784619.zip hdf5-d09b08ce39f96d70f1d68a9f2e0313495c784619.tar.gz hdf5-d09b08ce39f96d70f1d68a9f2e0313495c784619.tar.bz2 |
[svn-r8384] Purpose:
Code cleanup
Description:
Clean up lots of warnings based on those reported from the SGI compilers
as well as gcc.
Platforms tested:
SGI O3900, IRIX64 6.5 (Cheryl's SGI machine)
FreeBSD 4.9 (sleipnir) w/ & w/o parallel
h5committest
Diffstat (limited to 'test/titerate.c')
-rw-r--r-- | test/titerate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/titerate.c b/test/titerate.c index 5d93063..cfeb03e 100644 --- a/test/titerate.c +++ b/test/titerate.c @@ -197,7 +197,7 @@ static void test_iter_group(void) VERIFY(num_membs,NDATASETS+2,"H5Gget_num_objs"); for(i=0; i< (int)num_membs; i++) { - ret = H5Gget_objname_by_idx(root_group, (hsize_t)i, dataset_name, NAMELEN); + ret = (herr_t)H5Gget_objname_by_idx(root_group, (hsize_t)i, dataset_name, NAMELEN); CHECK(ret, FAIL, "H5Gget_objname_by_idx"); ret = (herr_t)H5Gget_objtype_by_idx(root_group, (hsize_t)i); @@ -229,7 +229,7 @@ static void test_iter_group(void) H5G_obj_t obj_type; /* Type of object in file */ #endif /*H5_WANT_H5_V1_4_COMPAT*/ - ret = H5Gget_objname_by_idx(file, (hsize_t)i, dataset_name, NAMELEN); + ret = (herr_t)H5Gget_objname_by_idx(file, (hsize_t)i, dataset_name, NAMELEN); CHECK(ret, FAIL, "H5Gget_objname_by_idx"); obj_type = H5Gget_objtype_by_idx(file, (hsize_t)i); @@ -796,7 +796,7 @@ static void test_grp_memb_funcs(void) name_len = H5Gget_objname_by_idx(root_group, (hsize_t)i, NULL, NAMELEN); CHECK(name_len, FAIL, "H5Gget_objname_by_idx"); - ret = H5Gget_objname_by_idx(root_group, (hsize_t)i, dataset_name, NAMELEN); + ret = (herr_t)H5Gget_objname_by_idx(root_group, (hsize_t)i, dataset_name, NAMELEN); CHECK(ret, FAIL, "H5Gget_objname_by_idx"); /* Double-check that the length is the same */ |