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 | 4a607dcc2c50b3c622c4e12c405ef33d85ee7f5f (patch) | |
tree | f8f90660f0808d9c1575fdc73df57e9d51dce76c /gprof/corefile.c | |
parent | 0741736bf65fb805acc836548d46bd0b8940bf59 (diff) | |
download | gdb-4a607dcc2c50b3c622c4e12c405ef33d85ee7f5f.zip gdb-4a607dcc2c50b3c622c4e12c405ef33d85ee7f5f.tar.gz gdb-4a607dcc2c50b3c622c4e12c405ef33d85ee7f5f.tar.bz2 |
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 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; } |