summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-12-19 19:51:53 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-12-19 19:51:53 (GMT)
commita75186cc511760578d8a9de722a16873371b6570 (patch)
treecf2ba37485e15b54ee2d3adfee91d98f56e29fee /tools
parentcd1d21dff7b37c2d317bc3e746cd659bf65470e9 (diff)
downloadhdf5-a75186cc511760578d8a9de722a16873371b6570.zip
hdf5-a75186cc511760578d8a9de722a16873371b6570.tar.gz
hdf5-a75186cc511760578d8a9de722a16873371b6570.tar.bz2
[svn-r13078]
one more fix related to bug 551. the printing of the subsetting parameters was not using the new hsize_t printing format correct output is now [pvn@kagiso ad]$ /home1/pvn/build_hdf5/tools/h5dump/h5dump -d /a -s "0,8899716890" -c "1,10" jasp_char.h5 HDF5 "jasp_char.h5" { DATASET "/a" { DATATYPE H5T_STD_I8LE DATASPACE SIMPLE { ( 20, 8899716900 ) / ( 20, 8899716900 ) } SUBSET { START ( 0, 8899716890 ); STRIDE ( 1, 1 ); COUNT ( 1, 10 ); BLOCK ( 1, 1 ); DATA { (0,8899716890): 1, (0,8899716891): 1, (0,8899716892): 2, (0,8899716893): 2, (0,8899716894): 3, (0,8899716895): 3, (0,8899716896): 4, (0,8899716897): 4, (0,8899716898): 5, (0,8899716899): 5 } } } }
Diffstat (limited to 'tools')
-rw-r--r--tools/h5dump/h5dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5dump/h5dump.c b/tools/h5dump/h5dump.c
index fbe7c75..1a61197 100644
--- a/tools/h5dump/h5dump.c
+++ b/tools/h5dump/h5dump.c
@@ -2015,7 +2015,7 @@ dump_dims(hsize_t *s, int dims)
int i;
for (i = 0; i < dims; i++) {
- printf("%u", (unsigned int)s[i]);
+ printf(HSIZE_T_FORMAT, s[i]);
if (i + 1 != dims)
printf(", ");