summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-02-23 14:16:26 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-02-23 14:16:26 (GMT)
commitc47f6becf2740a9e41824f522f33ada852fec26e (patch)
tree519e86e688aebf831263f4bb7654c7d7acdf72e1
parent108c788d375f797986d6811a18677a9ae4e8b594 (diff)
downloadhdf5-c47f6becf2740a9e41824f522f33ada852fec26e.zip
hdf5-c47f6becf2740a9e41824f522f33ada852fec26e.tar.gz
hdf5-c47f6becf2740a9e41824f522f33ada852fec26e.tar.bz2
[svn-r21972] Split append statement into two parts - linew hsize_t issue
-rw-r--r--tools/lib/h5tools_dump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/lib/h5tools_dump.c b/tools/lib/h5tools_dump.c
index b0c8591..06e3b2e 100644
--- a/tools/lib/h5tools_dump.c
+++ b/tools/lib/h5tools_dump.c
@@ -3026,7 +3026,8 @@ h5tools_dump_dcpl(FILE *stream, const h5tool_format_t *info,
h5tools_simple_prefix(stream, info, ctx, curr_pos, 0);
h5tools_str_reset(&buffer);
- h5tools_str_append(&buffer, "FILENAME %s SIZE %" H5_PRINTF_LL_WIDTH "u OFFSET %ld", name, size, offset);
+ h5tools_str_append(&buffer, "FILENAME %s SIZE %" H5_PRINTF_LL_WIDTH "u", name, size);
+ h5tools_str_append(&buffer, " OFFSET %ld", offset);
h5tools_render_element(stream, info, ctx, &buffer, &curr_pos, ncols, 0, 0);
}
ctx->indent_level--;