diff options
Diffstat (limited to 'src/H5Ocont.c')
-rw-r--r-- | src/H5Ocont.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Ocont.c b/src/H5Ocont.c index 999fca0..1dfaf46 100644 --- a/src/H5Ocont.c +++ b/src/H5Ocont.c @@ -95,7 +95,7 @@ H5O__cont_decode(H5F_t *f, H5O_t H5_ATTR_UNUSED *open_oh, unsigned H5_ATTR_UNUSE /* Decode */ if (H5_IS_BUFFER_OVERFLOW(p, H5F_sizeof_addr(f), p_end)) HGOTO_ERROR(H5E_OHDR, H5E_OVERFLOW, NULL, "ran off end of input buffer while decoding"); - H5F_addr_decode(f, &p, &(cont->addr)); + H5_addr_decode(f, &p, &(cont->addr)); if (H5_IS_BUFFER_OVERFLOW(p, H5F_sizeof_size(f), p_end)) HGOTO_ERROR(H5E_OHDR, H5E_OVERFLOW, NULL, "ran off end of input buffer while decoding"); @@ -132,11 +132,11 @@ H5O__cont_encode(H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, uint8_t *p, co assert(f); assert(p); assert(cont); - assert(H5F_addr_defined(cont->addr)); + assert(H5_addr_defined(cont->addr)); assert(cont->size > 0); /* encode */ - H5F_addr_encode(f, &p, cont->addr); + H5_addr_encode(f, &p, cont->addr); H5F_ENCODE_LENGTH(f, p, cont->size); FUNC_LEAVE_NOAPI(SUCCEED) |