From 643f17d21f72c33b8320134597676b4907b414e4 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Thu, 20 Jul 1995 22:13:40 +0000 Subject: [PATCH] * core.c (get_src_info): Cast arg 7 of bfd_find_nearest_line to proper type of "unsigned int *". --- gprof/ChangeLog | 5 +++++ gprof/core.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 70a0a2abd4..22f0b89be3 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,8 @@ +Wed Jul 19 18:46:13 1995 Fred Fish + + * 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 * configure.in: Use changequote around use of []. diff --git a/gprof/core.c b/gprof/core.c index bb849e788b..19c6e590f9 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", -- 2.34.1