From Brad Lucier <lucier@math.purdue.edu>:
authorIan Lance Taylor <ian@airs.com>
Tue, 22 Feb 2000 07:21:23 +0000 (07:21 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 22 Feb 2000 07:21:23 +0000 (07:21 +0000)
* dwarf2dbg.c (print_stats): Add cast to force printf argument to
match format.

gas/ChangeLog
gas/dwarf2dbg.c

index eb6d0fb830958d43272491537e13c751e3ef2890..3830f79890e5a378e839a04a44ad2a9de7a87e60 100644 (file)
@@ -1,3 +1,9 @@
+2000-02-22  Ian Lance Taylor  <ian@zembu.com>
+
+       From Brad Lucier <lucier@math.purdue.edu>:
+       * dwarf2dbg.c (print_stats): Add cast to force printf argument to
+       match format.
+
 2000-02-21  Catherine Moore  <clm@cygnus.com>
 
        * config/tc-mips.c (MF_HILO_INSN): Define.
index e735592e73787ceec801198c462d8a704bef94b8..b83175ac40a741636e4698aeedf68541a96b61ec 100644 (file)
@@ -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");