aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog5
-rw-r--r--gprof/corefile.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index b5692f9..2f490fb 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -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:
diff --git a/gprof/corefile.c b/gprof/corefile.c
index 24539bc..790fc28 100644
--- a/gprof/corefile.c
+++ b/gprof/corefile.c
@@ -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;
}