From Brad Lucier <lucier@math.purdue.edu>:
authorIan Lance Taylor <ian@airs.com>
Fri, 6 Aug 1999 18:57:53 +0000 (18:57 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 6 Aug 1999 18:57:53 +0000 (18:57 +0000)
* corefile.c (core_create_line_syms): Add cast for printf.

gprof/ChangeLog
gprof/corefile.c

index b5692f9901f576110f6c00e2fb6f41ed7d8072c6..2f490fbb6d40aed919664cbadbb87f3dd22113dd 100644 (file)
@@ -1,3 +1,8 @@
+1999-08-06  Ian Lance Taylor  <ian@zembu.com>
+
+       From Brad Lucier <lucier@math.purdue.edu>:
+       * corefile.c (core_create_line_syms): Add cast for printf.
+
 1999-07-21  Ian Lance Taylor  <ian@zembu.com>
 
        From Mark Elbrecht:
index 24539bcdf963fe7bdabc949b54bbd8e71f6e095c..790fc2862086e74cd53c163fa240f87c792e926a 100644 (file)
@@ -723,8 +723,9 @@ DEFUN (core_create_line_syms, (core_bfd), bfd * core_bfd)
          discard_underscores = 0;
        }
 
-      DBG (AOUTDEBUG, printf ("[core_create_line_syms] %d %s 0x%lx\n",
-                             ltab.limit - ltab.base, ltab.limit->name,
+      DBG (AOUTDEBUG, printf ("[core_create_line_syms] %lu %s 0x%lx\n",
+                             (unsigned long) (ltab.limit - ltab.base),
+                             ltab.limit->name,
                              (unsigned long) ltab.limit->addr));
       ++ltab.limit;
     }