From 147edec689b35162a38f13033565f2ca17a60661 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Tue, 21 Feb 2012 10:00:37 -0500 Subject: [svn-r21966] Index used in printing data uses hsize_t variables. Changed h5ls format to use HSIZE_T_FORMAT. Tested: local linux and windows 32 --- tools/h5ls/h5ls.c | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/tools/h5ls/h5ls.c b/tools/h5ls/h5ls.c index 6b4d5f0..55103a1 100644 --- a/tools/h5ls/h5ls.c +++ b/tools/h5ls/h5ls.c @@ -80,7 +80,7 @@ static h5tool_format_t ls_dataformat = { ",", /*elmt_suf1 */ " ", /*elmt_suf2 */ - "%lu", /*idx_n_fmt */ + HSIZE_T_FORMAT, /*idx_n_fmt */ ",", /*idx_sep */ "(%s)", /*idx_fmt */ @@ -2000,18 +2000,19 @@ print_enum_type(h5tools_str_t *buffer, hid_t type, int ind) h5tools_str_append(buffer, "0x"); for (j=0; j