From: deraadt Date: Fri, 25 Jun 2021 01:36:04 +0000 (+0000) Subject: minimalistic diff to use %ld instead of %d for ptrdiff printing X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=738f17d1799542a46a3dcbc375a64e643c693e9f;p=openbsd minimalistic diff to use %ld instead of %d for ptrdiff printing --- diff --git a/gnu/usr.bin/binutils-2.17/bfd/doc/chew.c b/gnu/usr.bin/binutils-2.17/bfd/doc/chew.c index 542fc2feb70..d81eacde4f5 100644 --- a/gnu/usr.bin/binutils-2.17/bfd/doc/chew.c +++ b/gnu/usr.bin/binutils-2.17/bfd/doc/chew.c @@ -472,8 +472,8 @@ remove_noncomments (src, dst) static void print_stack_level () { - fprintf (stderr, "current string stack depth = %d, ", tos - stack); - fprintf (stderr, "current integer stack depth = %d\n", isp - istack); + fprintf (stderr, "current string stack depth = %ld, ", tos - stack); + fprintf (stderr, "current integer stack depth = %ld\n", isp - istack); pc++; } @@ -1559,7 +1559,7 @@ main (ac, av) write_buffer (stack + 0, stdout); if (tos != stack) { - fprintf (stderr, "finishing with current stack level %d\n", + fprintf (stderr, "finishing with current stack level %ld\n", tos - stack); return 1; }