summaryrefslogtreecommitdiffstats
path: root/src/H5Ocont.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Ocont.c')
-rw-r--r--src/H5Ocont.c22
1 files changed, 10 insertions, 12 deletions
diff --git a/src/H5Ocont.c b/src/H5Ocont.c
index 722a0f9..997ea0d 100644
--- a/src/H5Ocont.c
+++ b/src/H5Ocont.c
@@ -117,7 +117,7 @@ H5O_cont_encode(H5F_t *f, uint8_t *p, const void *_mesg)
assert(cont);
/* encode */
- H5F_addr_encode(f, &p, &(cont->addr));
+ H5F_addr_encode(f, &p, cont->addr);
H5F_encode_length(f, p, cont->size);
FUNC_LEAVE(SUCCEED);
@@ -153,17 +153,15 @@ H5O_cont_debug(H5F_t UNUSED *f, const void *_mesg, FILE * stream,
assert(indent >= 0);
assert(fwidth >= 0);
- fprintf(stream, "%*s%-*s ", indent, "", fwidth,
- "Continuation address:");
- H5F_addr_print(stream, &(cont->addr));
- fprintf(stream, "\n");
-
- fprintf(stream, "%*s%-*s %lu\n", indent, "", fwidth,
- "Continuation size in bytes:",
- (unsigned long) (cont->size));
- fprintf(stream, "%*s%-*s %d\n", indent, "", fwidth,
- "Points to chunk number:",
- (int) (cont->chunkno));
+ HDfprintf(stream, "%*s%-*s %a\n", indent, "", fwidth,
+ "Continuation address:", cont->addr);
+
+ HDfprintf(stream, "%*s%-*s %lu\n", indent, "", fwidth,
+ "Continuation size in bytes:",
+ (unsigned long) (cont->size));
+ HDfprintf(stream, "%*s%-*s %d\n", indent, "", fwidth,
+ "Points to chunk number:",
+ (int) (cont->chunkno));
FUNC_LEAVE(SUCCEED);
}