diff options
author | Fred Fish <fnf@specifix.com> | 1995-07-20 22:13:40 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1995-07-20 22:13:40 +0000 |
commit | 643f17d21f72c33b8320134597676b4907b414e4 (patch) | |
tree | 0682a50e199c9a1f8cfd4bd9872bae3ed2378412 /gprof | |
parent | 032f80d8d45856defb0e70c4703b1c9d03b35ede (diff) | |
download | gdb-643f17d21f72c33b8320134597676b4907b414e4.zip gdb-643f17d21f72c33b8320134597676b4907b414e4.tar.gz gdb-643f17d21f72c33b8320134597676b4907b414e4.tar.bz2 |
* core.c (get_src_info): Cast arg 7 of bfd_find_nearest_line
to proper type of "unsigned int *".
Diffstat (limited to 'gprof')
-rw-r--r-- | gprof/ChangeLog | 5 | ||||
-rw-r--r-- | gprof/core.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 70a0a2a..22f0b89 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,8 @@ +Wed Jul 19 18:46:13 1995 Fred Fish <fnf@cygnus.com> + + * core.c (get_src_info): Cast arg 7 of bfd_find_nearest_line + to proper type of "unsigned int *". + Fri Jun 16 15:29:36 1995 Ken Raeburn <raeburn@cujo.cygnus.com> * configure.in: Use changequote around use of []. diff --git a/gprof/core.c b/gprof/core.c index bb849e7..19c6e59 100644 --- a/gprof/core.c +++ b/gprof/core.c @@ -196,7 +196,7 @@ DEFUN (get_src_info, (addr, filename, name, line_num), if (bfd_find_nearest_line (core_bfd, core_text_sect, core_syms, addr - core_text_sect->vma, - &fname, &func_name, &l) + &fname, &func_name, (unsigned int *) &l) && fname && func_name && l) { DBG (AOUTDEBUG, printf ("[get_src_info] 0x%lx -> %s:%d (%s)\n", |