diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2022-08-03 12:46:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-03 12:46:33 (GMT) |
commit | a71534fcc248737491adcfd770c7ab69b4adc2d4 (patch) | |
tree | d20b88338c230be6663b86bc5a918faaab944ed8 /tools/src/h5ls | |
parent | fcf41b3cd60df51af9be529e379a9dd6c488d088 (diff) | |
download | hdf5-a71534fcc248737491adcfd770c7ab69b4adc2d4.zip hdf5-a71534fcc248737491adcfd770c7ab69b4adc2d4.tar.gz hdf5-a71534fcc248737491adcfd770c7ab69b4adc2d4.tar.bz2 |
Corrects some bad format strings in the tools (#1964)
Diffstat (limited to 'tools/src/h5ls')
-rw-r--r-- | tools/src/h5ls/h5ls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/src/h5ls/h5ls.c b/tools/src/h5ls/h5ls.c index a14bb79..eed8b2e 100644 --- a/tools/src/h5ls/h5ls.c +++ b/tools/src/h5ls/h5ls.c @@ -1928,7 +1928,7 @@ dataset_list2(hid_t dset, const char H5_ATTR_UNUSED *name) if (vmaps) { size_t next; - h5tools_str_append(&buffer, " %-10s {%ld} Source {\n", "Maps:", vmaps); + h5tools_str_append(&buffer, " %-10s {%zu} Source {\n", "Maps:", vmaps); for (next = 0; next < (unsigned)vmaps; next++) { H5Pget_virtual_filename(dcpl, next, f_name, sizeof(f_name)); H5Pget_virtual_dsetname(dcpl, next, dset_name, sizeof(dset_name)); |