From 53e41464fd2798e3e0935019403b890e64b195e4 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 31 May 1996 00:51:48 +0000 Subject: [PATCH] (decode_one_format): Use %lu (not %d) printf formats corresponding to unsigned long, SIZE. --- src/od.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/od.c b/src/od.c index 1bcd957..856a837 100644 --- a/src/od.c +++ b/src/od.c @@ -734,7 +734,7 @@ decode_one_format (const char *s_orig, const char *s, const char **next, || integral_type_size[size] == NO_SIZE) { error (0, 0, _("invalid type string `%s';\n\ -this system doesn't provide a %d-byte integral type"), s_orig, size); +this system doesn't provide a %lu-byte integral type"), s_orig, size); return 1; } s = p; @@ -847,7 +847,7 @@ this system doesn't provide a %d-byte integral type"), s_orig, size); || fp_type_size[size] == NO_SIZE) { error (0, 0, _("invalid type string `%s';\n\ -this system doesn't provide a %d-byte floating point type"), s_orig, size); +this system doesn't provide a %lu-byte floating point type"), s_orig, size); return 1; } s = p; -- 2.7.4