summaryrefslogtreecommitdiffstats
path: root/src/H5HL.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-09-19 20:13:47 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-09-19 20:13:47 (GMT)
commit3752177106983673ce51e55e5faaefa41c269465 (patch)
treeb34d5f3eb7ca2e4b6b9fce0d6780fe3dbd4e503d /src/H5HL.c
parent14b9ac8763deda60cca5d75beae85fda4390b143 (diff)
downloadhdf5-3752177106983673ce51e55e5faaefa41c269465.zip
hdf5-3752177106983673ce51e55e5faaefa41c269465.tar.gz
hdf5-3752177106983673ce51e55e5faaefa41c269465.tar.bz2
[svn-r7498] Purpose:
Code cleanup Description: Clean up various warnings and parameter mis-matches, etc. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to need h5committest
Diffstat (limited to 'src/H5HL.c')
-rw-r--r--src/H5HL.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5HL.c b/src/H5HL.c
index a015adb..b33b75f 100644
--- a/src/H5HL.c
+++ b/src/H5HL.c
@@ -839,14 +839,14 @@ H5HL_unprotect(H5F_t *f, hid_t dxpl_id, const H5HL_t *heap, haddr_t addr)
{
herr_t ret_value = SUCCEED;
- FUNC_ENTER_NOAPI(H5HL_peek, FAIL);
+ FUNC_ENTER_NOAPI(H5HL_unprotect, FAIL);
/* check arguments */
assert(f);
assert(heap);
assert(H5F_addr_defined(addr));
- if (H5AC_unprotect(f, dxpl_id, H5AC_LHEAP, addr, heap, FALSE) != SUCCEED)
+ if (H5AC_unprotect(f, dxpl_id, H5AC_LHEAP, addr, (void *)heap, FALSE) != SUCCEED)
HDONE_ERROR(H5E_HEAP, H5E_PROTECT, FAIL, "unable to release object header");
done: