diff options
author | David Young <dyoung@hdfgroup.org> | 2020-07-31 15:34:27 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-07-31 15:34:27 (GMT) |
commit | 651facc1446c36e6d77cc328682dac397bae27e3 (patch) | |
tree | 5bd32205cc536d7529e37de6541ded08f507456b /src/H5HLdbg.c | |
parent | 0bb87534a6a78d5a5bddd84b9aa4867826368d8b (diff) | |
download | hdf5-651facc1446c36e6d77cc328682dac397bae27e3.zip hdf5-651facc1446c36e6d77cc328682dac397bae27e3.tar.gz hdf5-651facc1446c36e6d77cc328682dac397bae27e3.tar.bz2 |
Use PRIu32 and "zu" formats. Delete some casts from `size_t`.
Diffstat (limited to 'src/H5HLdbg.c')
-rw-r--r-- | src/H5HLdbg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5HLdbg.c b/src/H5HLdbg.c index a299e47..8950a02 100644 --- a/src/H5HLdbg.c +++ b/src/H5HLdbg.c @@ -66,9 +66,9 @@ H5HL_debug(H5F_t *f, haddr_t addr, FILE * stream, int indent, int fwidth)) H5E_THROW(H5E_CANTPROTECT, "unable to load/protect local heap"); HDfprintf(stream, "%*sLocal Heap...\n", indent, ""); - HDfprintf(stream, "%*s%-*s %lu\n", indent, "", fwidth, + HDfprintf(stream, "%*s%-*s %zu\n", indent, "", fwidth, "Header size (in bytes):", - (unsigned long)h->prfx_size); + h->prfx_size); HDfprintf(stream, "%*s%-*s %" PRIuHADDR "\n", indent, "", fwidth, "Address of heap data:", h->dblk_addr); |