* corelow.c (add_to_thread_list): Need a cast to go from PTR to
authorJim Kingdon <jkingdon@engr.sgi.com>
Sun, 17 Oct 1993 02:05:58 +0000 (02:05 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Sun, 17 Oct 1993 02:05:58 +0000 (02:05 +0000)
asection *.

gdb/ChangeLog
gdb/corelow.c

index 9ff409f..82db383 100644 (file)
@@ -1,5 +1,8 @@
 Sat Oct 16 20:47:30 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
+       * corelow.c (add_to_thread_list): Need a cast to go from PTR to
+       asection *.
+
        * infrun.c: Add comment about signals.
 
        * fork-child.c (fork_inferior): Remove CREATE_INFERIOR_HOOK again.
index 407940c..1cebc48 100644 (file)
@@ -90,7 +90,7 @@ add_to_thread_list (abfd, asect, reg_sect_arg)
      PTR reg_sect_arg;
 {
   int thread_id;
-  asection *reg_sect = reg_sect_arg;
+  asection *reg_sect = (asection *) reg_sect_arg;
 
   if (strncmp (bfd_section_name (abfd, asect), ".reg/", 5) != 0)
     return;