summaryrefslogtreecommitdiffstats
path: root/src/H5Rint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Rint.c')
-rw-r--r--src/H5Rint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Rint.c b/src/H5Rint.c
index ab3b82e..99278a2 100644
--- a/src/H5Rint.c
+++ b/src/H5Rint.c
@@ -1341,7 +1341,7 @@ H5R__encode_heap(H5F_t *f, unsigned char *buf, size_t *nalloc, const unsigned ch
HGOTO_ERROR(H5E_REFERENCE, H5E_WRITEERROR, FAIL, "Unable to write reference information")
/* Encode the heap information */
- H5_addr_encode(f, &p, hobjid.addr);
+ H5F_addr_encode(f, &p, hobjid.addr);
UINT32ENCODE(p, hobjid.idx);
} /* end if */
*nalloc = buf_size;
@@ -1381,7 +1381,7 @@ H5R__decode_heap(H5F_t *f, const unsigned char *buf, size_t *nbytes, unsigned ch
HGOTO_ERROR(H5E_REFERENCE, H5E_CANTDECODE, FAIL, "Buffer size is too small")
/* Get the heap information */
- H5_addr_decode(f, &p, &(hobjid.addr));
+ H5F_addr_decode(f, &p, &(hobjid.addr));
if (!H5_addr_defined(hobjid.addr) || hobjid.addr == 0)
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "Undefined reference pointer")
UINT32DECODE(p, hobjid.idx);
@@ -1532,7 +1532,7 @@ done:
if (ret_value < 0) {
if (space && H5S_close(space) < 0)
- HDONE_ERROR(H5E_DATASET, H5E_CLOSEERROR, FAIL, "unable to release dataspace")
+ HDONE_ERROR(H5E_DATASET, H5E_CLOSEERROR, FAIL, "unable to release dataspace");
}
FUNC_LEAVE_NOAPI(ret_value)