diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2013-07-03 16:12:32 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2013-07-03 16:12:32 (GMT) |
commit | dfcb3cebf17c20b6dfc0a1dd5178c2e2d01c4422 (patch) | |
tree | 6dd345c9832ff210c96dc7d642ba2e2f4d394bf6 /tools/h5dump | |
parent | 6da129cef05328a6935bb6ce65319944cdce5a95 (diff) | |
download | hdf5-dfcb3cebf17c20b6dfc0a1dd5178c2e2d01c4422.zip hdf5-dfcb3cebf17c20b6dfc0a1dd5178c2e2d01c4422.tar.gz hdf5-dfcb3cebf17c20b6dfc0a1dd5178c2e2d01c4422.tar.bz2 |
[svn-r23862] Change printfs in perform output and h5dump to prevent overflow.
This fixes: https://jira.hdfgroup.uiuc.edu/browse/HDFFV-8450
Tested on Jam.
Diffstat (limited to 'tools/h5dump')
-rw-r--r-- | tools/h5dump/h5dump_ddl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5dump/h5dump_ddl.c b/tools/h5dump/h5dump_ddl.c index a9a23a5..bb54e3f 100644 --- a/tools/h5dump/h5dump_ddl.c +++ b/tools/h5dump/h5dump_ddl.c @@ -1179,9 +1179,9 @@ dump_fcpl(hid_t fid) indentation(dump_indent + COL); PRINTSTREAM(rawoutstream, "%s %u\n","OBJECTHEADER_VERSION", finfo.sohm.version); indentation(dump_indent + COL); - PRINTSTREAM(rawoutstream,"%s %Hd\n","OFFSET_SIZE", (long long)off_size); + PRINTSTREAM(rawoutstream,"%s %zu\n","OFFSET_SIZE", off_size); indentation(dump_indent + COL); - PRINTSTREAM(rawoutstream,"%s %Hd\n","LENGTH_SIZE", (long long)len_size); + PRINTSTREAM(rawoutstream,"%s %zu\n","LENGTH_SIZE", len_size); indentation(dump_indent + COL); PRINTSTREAM(rawoutstream, "%s %u\n","BTREE_RANK", sym_ik); indentation(dump_indent + COL); |