diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-01-05 20:18:16 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-01-05 20:18:16 (GMT) |
commit | f3c2eb9acfd1242618bc314efffac1e0471727e9 (patch) | |
tree | 2ac2051021d8ea1f7e113518eb79352feb957d2e /tools/lib/h5tools.c | |
parent | 5f00939eb90d3074c5ce2cfe3526cfc2e147bf88 (diff) | |
download | hdf5-f3c2eb9acfd1242618bc314efffac1e0471727e9.zip hdf5-f3c2eb9acfd1242618bc314efffac1e0471727e9.tar.gz hdf5-f3c2eb9acfd1242618bc314efffac1e0471727e9.tar.bz2 |
[svn-r19918] Add hh modifier to signed char printf format string. Added h5dump test to verify that signed/unsigned datasets print correctly.
Bring solution from 1.8 packed bits fix which solved problem on heiwa with Signed char of 8 bits
Tested: local linux
Diffstat (limited to 'tools/lib/h5tools.c')
-rw-r--r-- | tools/lib/h5tools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c index 896c310..7aee7bc 100644 --- a/tools/lib/h5tools.c +++ b/tools/lib/h5tools.c @@ -49,7 +49,7 @@ static h5tool_format_t h5tools_dataformat = { "", /*fmt_raw */ "%d", /*fmt_int */ "%u", /*fmt_uint */ -"%d", /*fmt_schar */ +"%hhd", /*fmt_schar */ "%u", /*fmt_uchar */ "%d", /*fmt_short */ "%u", /*fmt_ushort */ |