From: Jim Meyering Date: Fri, 31 May 1996 00:51:48 +0000 (+0000) Subject: (decode_one_format): Use %lu (not %d) printf formats X-Git-Tag: TEXTUTILS-1_16~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53e41464fd2798e3e0935019403b890e64b195e4;p=thirdparty%2Fcoreutils.git (decode_one_format): Use %lu (not %d) printf formats corresponding to unsigned long, SIZE. --- diff --git a/src/od.c b/src/od.c index 1bcd957b73..856a837d7a 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;