aboutsummaryrefslogtreecommitdiff
path: root/gas/dwarf2dbg.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2000-02-22 07:21:23 +0000
committerIan Lance Taylor <ian@airs.com>2000-02-22 07:21:23 +0000
commit52454417c7679a159ed6a78683f08e987951df44 (patch)
tree82b7f58b59471549b25dd60c6101538d95057e0f /gas/dwarf2dbg.c
parent160622076929d2cac8d47306b07d21823b9f6684 (diff)
downloadfsf-binutils-gdb-52454417c7679a159ed6a78683f08e987951df44.zip
fsf-binutils-gdb-52454417c7679a159ed6a78683f08e987951df44.tar.gz
fsf-binutils-gdb-52454417c7679a159ed6a78683f08e987951df44.tar.bz2
From Brad Lucier <lucier@math.purdue.edu>:
* dwarf2dbg.c (print_stats): Add cast to force printf argument to match format.
Diffstat (limited to 'gas/dwarf2dbg.c')
-rw-r--r--gas/dwarf2dbg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index e735592..b83175a 100644
--- a/gas/dwarf2dbg.c
+++ b/gas/dwarf2dbg.c
@@ -1,5 +1,5 @@
/* dwarf2dbg.c - DWARF2 debug support
- Copyright (C) 1999 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000 Free Software Foundation, Inc.
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
This file is part of GAS, the GNU Assembler.
@@ -639,7 +639,8 @@ print_stats (total_size)
j = SPECIAL_LINE (i);
if (j == DWARF2_LINE_BASE)
fprintf (stderr, "\n%4u: ",
- DWARF2_LINE_MIN_INSN_LENGTH*SPECIAL_ADDR (i));
+ ((unsigned int)
+ DWARF2_LINE_MIN_INSN_LENGTH * SPECIAL_ADDR (i)));
fprintf (stderr, " %2u", ls.opcode_hist[i]);
}
fprintf (stderr, "\n");