* src/od.c (main): Use %td instead of %d when printing an idx_t using
printf.
---
src/od.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/od.c b/src/od.c
index 23d92543e..469e788cc 100644
--- a/src/od.c
+++ b/src/od.c
@@ -2048,7 +2048,7 @@ main (int argc, char **argv)
idx_t fields_per_block = bytes_per_block / width_bytes[spec[i].size];
affirm (bytes_per_block % width_bytes[spec[i].size] == 0);
affirm (1 <= spec[i].pad_width / fields_per_block);
- printf ("%d: fmt=\"%s\" in_width=%d out_width=%d pad=%d\n",
+ printf ("%td: fmt=\"%s\" in_width=%d out_width=%d pad=%td\n",
i, spec[i].fmt_string, width_bytes[spec[i].size],
spec[i].field_width, spec[i].pad_width);
}
--
2.55.0