Index: bfd/doc/chew.c |
diff --git a/bfd/doc/chew.c b/bfd/doc/chew.c |
index 2276c8a6d59623b3e7c93c9b53391fec0983f5ed..f949e1f7ffc0e797ac79daf1d64435bc767a96be 100644 |
--- a/bfd/doc/chew.c |
+++ b/bfd/doc/chew.c |
@@ -1,6 +1,6 @@ |
/* chew |
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 2000, 2001, |
- 2002, 2003, 2005, 2007, 2009 |
+ 2002, 2003, 2005, 2007, 2009, 2012 |
Free Software Foundation, Inc. |
Contributed by steve chamberlain @cygnus |
@@ -476,8 +476,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++; |
} |
@@ -1563,7 +1563,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; |
} |