summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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(", ");