diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-10-30 15:58:46 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-10-30 15:58:46 (GMT) |
commit | 25f3bf9011ad0876998a1db37f21eb7a214b93d4 (patch) | |
tree | 912ed6ade37d6b190b6e2b989125e331ba43e27b /src/H5HFsection.c | |
parent | 87411d7b2d845d52bdbde7fcc473220c22936a47 (diff) | |
download | hdf5-25f3bf9011ad0876998a1db37f21eb7a214b93d4.zip hdf5-25f3bf9011ad0876998a1db37f21eb7a214b93d4.tar.gz hdf5-25f3bf9011ad0876998a1db37f21eb7a214b93d4.tar.bz2 |
[svn-r12828] Description:
Clean up compiler warnings...
Tested on:
Linux/32 2.6 (chicago)
Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5HFsection.c')
-rw-r--r-- | src/H5HFsection.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5HFsection.c b/src/H5HFsection.c index 807beb3..fc44c3c 100644 --- a/src/H5HFsection.c +++ b/src/H5HFsection.c @@ -1295,7 +1295,8 @@ HDfprintf(stderr, "%s: sect->u.single = {%p, %u, %a, %Zu}\n", "H5HF_sect_single_ HDassert(H5F_addr_defined(iblock->ents[sect->u.single.par_entry].addr)); /* Retrieve direct block address from section */ - status = H5HF_sect_single_dblock_info(iblock->hdr, H5AC_dxpl_id, sect, &dblock_addr, &dblock_size); + /* (Casting away const OK - QAK) */ + status = H5HF_sect_single_dblock_info(iblock->hdr, H5AC_dxpl_id, (H5HF_free_section_t *)sect, &dblock_addr, &dblock_size); HDassert(status >= 0); HDassert(H5F_addr_eq(iblock->ents[sect->u.single.par_entry].addr, dblock_addr)); HDassert(dblock_size > 0); |