diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-08-06 18:57:53 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-08-06 18:57:53 +0000 |
commit | 51f8130cf5704538ab27e2bd5220f3457bc40ca5 (patch) | |
tree | 89d7deb92e03e3fea1ac40a1467469c6b4e12678 /gprof/corefile.c | |
parent | b06807308fe63719b304d756e8e360dff5c5a6cf (diff) | |
download | binutils-redhat-51f8130cf5704538ab27e2bd5220f3457bc40ca5.tar.gz |
From Brad Lucier <lucier@math.purdue.edu>:
* corefile.c (core_create_line_syms): Add cast for printf.
Diffstat (limited to 'gprof/corefile.c')
-rw-r--r-- | gprof/corefile.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gprof/corefile.c b/gprof/corefile.c index 24539bcdf9..790fc28620 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; } |