diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2013-07-08 14:04:23 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2013-07-08 14:04:23 (GMT) |
commit | 38bdc241ed4f62c9d628de563f6f98f3dda6281c (patch) | |
tree | 61fc02af6d14212eb8917d31e118b6c61aa9dec9 /tools | |
parent | 55de59d03430cd3804905e0dbeade08308da48e7 (diff) | |
download | hdf5-38bdc241ed4f62c9d628de563f6f98f3dda6281c.zip hdf5-38bdc241ed4f62c9d628de563f6f98f3dda6281c.tar.gz hdf5-38bdc241ed4f62c9d628de563f6f98f3dda6281c.tar.bz2 |
[svn-r23868] bring r 23862 from trunk:
Change printfs in perform output and h5dump to prevent overflow.
This fixes: https://jira.hdfgroup.uiuc.edu/browse/HDFFV-8450
Diffstat (limited to 'tools')
-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 d3ea1fe..348a293 100644 --- a/tools/h5dump/h5dump_ddl.c +++ b/tools/h5dump/h5dump_ddl.c @@ -1178,9 +1178,9 @@ dump_fcpl(hid_t fid) indentation(dump_indent + COL); PRINTSTREAM(rawoutstream, "%s %u\n","OBJECTHEADER_VERSION", shhdr); 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); |