* objfiles.c (build_objfile_section_table): Cast return value
authorJim Kingdon <jkingdon@engr.sgi.com>
Tue, 13 Apr 1993 15:31:29 +0000 (15:31 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Tue, 13 Apr 1993 15:31:29 +0000 (15:31 +0000)
from obstack_finish.

gdb/ChangeLog
gdb/objfiles.c

index 8fe721bf43748bac99ef1a5005efc3dfbdc2d1fd..c477142bb27cc268e21c573d7e35d9f4c6633e50 100644 (file)
@@ -1,3 +1,8 @@
+Tue Apr 13 08:28:26 1993  Jim Kingdon  (kingdon@cygnus.com)
+
+       * objfiles.c (build_objfile_section_table): Cast return value
+       from obstack_finish.
+
 Mon Apr 12 10:53:50 1993  Jim Kingdon  (kingdon@cygnus.com)
 
        * config/rs6000/tm-rs6000.h, rs6000-tdep.c: Move FRAME_CHAIN
index 541941a1d507f240a2920fb42bc438e4488be3ba..94b5f57acb67c619304c52d4cef167f6d3ce524c 100644 (file)
@@ -100,7 +100,8 @@ build_objfile_section_table (objfile)
 
   objfile->sections_end = 0;
   bfd_map_over_sections (objfile->obfd, add_to_objfile_sections, (char *)objfile);
-  objfile->sections = obstack_finish (&objfile->psymbol_obstack);
+  objfile->sections = (struct obj_section *)
+    obstack_finish (&objfile->psymbol_obstack);
   objfile->sections_end = objfile->sections + (int) objfile->sections_end;
   return(0);
 }