diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-10-03 21:17:01 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-10-03 21:17:01 (GMT) |
commit | f3a42517b91e45e4006ba4eb119b2acbb062c8b7 (patch) | |
tree | 966d2688dd9672c72a088790d89d1f001579ce74 /src/H5P.c | |
parent | e3a137f39e80b6fe7271f18d2009865823f95f43 (diff) | |
download | hdf5-f3a42517b91e45e4006ba4eb119b2acbb062c8b7.zip hdf5-f3a42517b91e45e4006ba4eb119b2acbb062c8b7.tar.gz hdf5-f3a42517b91e45e4006ba4eb119b2acbb062c8b7.tar.bz2 |
[svn-r4518] Purpose:
Code cleanup
Description:
Clean up some small compiler warnings.
Platforms tested:
FreeBSD 4.4 (hawkwind)
Diffstat (limited to 'src/H5P.c')
-rw-r--r-- | src/H5P.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1652,7 +1652,7 @@ H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[/*ndims*/]) if(H5P_set(plist_id, H5D_CRT_CHUNK_DIM_NAME, &ndims) < 0) HRETURN_ERROR(H5E_PLIST, H5E_CANTINIT, FAIL, "can't set chunk dimensionanlity"); - if(H5P_set(plist_id, H5D_CRT_CHUNK_SIZE_NAME, (void*)dim) < 0) + if(H5P_set(plist_id, H5D_CRT_CHUNK_SIZE_NAME, dim) < 0) HRETURN_ERROR(H5E_PLIST, H5E_CANTINIT, FAIL, "can't set chunk size"); FUNC_LEAVE(SUCCEED); @@ -5068,7 +5068,7 @@ done: EXAMPLES REVISION LOG --------------------------------------------------------------------------*/ -herr_t H5P_set(hid_t plist_id, const char *name, void *value) +herr_t H5P_set(hid_t plist_id, const char *name, const void *value) { H5P_genplist_t *plist; /* Property list to modify */ H5P_genprop_t *prop; /* Temporary property pointer */ |