* core.c (get_src_info): Cast arg 7 of bfd_find_nearest_line
authorFred Fish <fnf@specifix.com>
Thu, 20 Jul 1995 22:13:40 +0000 (22:13 +0000)
committerFred Fish <fnf@specifix.com>
Thu, 20 Jul 1995 22:13:40 +0000 (22:13 +0000)
to proper type of "unsigned int *".

gprof/ChangeLog
gprof/core.c

index 70a0a2abd4e42e7bd7fc6902197e19d2b13b2a95..22f0b89be3a1c1364ad2a5bfba5c4681aa8944f5 100644 (file)
@@ -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 [].
index bb849e788b85ff9d8270fbbf5773a5360f86cf31..19c6e590f99cabf9316b74c413d09dc6bce645cd 100644 (file)
@@ -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",