summaryrefslogtreecommitdiffstats
path: root/src/H5HFtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5HFtest.c')
-rw-r--r--src/H5HFtest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5HFtest.c b/src/H5HFtest.c
index 1eeb15e..d1daa2b 100644
--- a/src/H5HFtest.c
+++ b/src/H5HFtest.c
@@ -320,7 +320,8 @@ H5HF_get_id_off_test(const H5HF_t *fh, const void *_id, hsize_t *obj_off)
HDassert(id);
HDassert(obj_off);
- /* Get the offset for a heap ID */
+ /* Get the offset for a 'normal' heap ID */
+ id++;
UINT64DECODE_VAR(id, *obj_off, fh->hdr->heap_off_size); \
FUNC_LEAVE_NOAPI(SUCCEED)