diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-11-04 03:21:41 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-11-04 03:21:41 (GMT) |
commit | bd74bf3ff0139edfcd565989458cbbcaeaf6bfb6 (patch) | |
tree | 5bd66641f81f2694c1e6d6102321a5dc6a559743 /src/H5F.c | |
parent | 0001a136175eb59c3c2ff778c67e763bae73f473 (diff) | |
download | hdf5-bd74bf3ff0139edfcd565989458cbbcaeaf6bfb6.zip hdf5-bd74bf3ff0139edfcd565989458cbbcaeaf6bfb6.tar.gz hdf5-bd74bf3ff0139edfcd565989458cbbcaeaf6bfb6.tar.bz2 |
[svn-r4590] Purpose:
Code cleanup
Description:
Fix a bunch of warnings and also make the linux compilers happy with
some casts.
Platforms tested:
Linux 2.2 (eirene)
Diffstat (limited to 'src/H5F.c')
-rw-r--r-- | src/H5F.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2487,7 +2487,7 @@ H5F_mount(H5G_entry_t *loc, const char *name, H5F_t *child, if(H5I_GENPROP_LST != H5I_get_type(plist_id) || TRUE != H5Pisa_class(plist_id, H5P_MOUNT)) - HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "not property list"); + HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not property list"); /* * Check that the child isn't mounted, that the mount point exists, and @@ -2942,7 +2942,7 @@ H5F_sizeof_addr(const H5F_t *f) FUNC_ENTER(H5F_sizeof_addr, 0); assert(f); if(H5P_get(f->shared->fcpl_id, H5F_CRT_ADDR_BYTE_NUM_NAME, &sizeof_addr)<0) - HRETURN_ERROR(H5E_PLIST, H5E_CANTGET, NULL, + HRETURN_ERROR(H5E_PLIST, H5E_CANTGET, UFAIL, "can't get byte number for address"); FUNC_LEAVE(sizeof_addr); } @@ -2977,7 +2977,7 @@ H5F_sizeof_size(const H5F_t *f) assert(f); if(H5P_get(f->shared->fcpl_id, H5F_CRT_OBJ_BYTE_NUM_NAME, &sizeof_size)<0) - HRETURN_ERROR(H5E_PLIST, H5E_CANTGET, NULL, + HRETURN_ERROR(H5E_PLIST, H5E_CANTGET, UFAIL, "can't get byte number for object size"); FUNC_LEAVE(sizeof_size); } |