Fred Fish <fnf@be.com>
authorRichard Henderson <rth@redhat.com>
Thu, 6 May 1999 17:12:02 +0000 (17:12 +0000)
committerRichard Henderson <rth@redhat.com>
Thu, 6 May 1999 17:12:02 +0000 (17:12 +0000)
        * dwarf2.c (read_abbrevs): Change cast of dwarf_abbrev_buffer
        assignment from "unsigned char *" to "char *".
        (decode_line_info): Likewise for dwarf_line_buffer assignment.

bfd/ChangeLog
bfd/dwarf2.c

index 36b421bd8a5ffae00f391c5bf9aad0d57473520e..9784c1fb50513ea8c4f8e2e0cb2de906107975d1 100644 (file)
@@ -1,3 +1,9 @@
+Thu May  6 17:09:09 1999  Fred Fish  <fnf@be.com>
+
+       * dwarf2.c (read_abbrevs): Change cast of dwarf_abbrev_buffer
+       assignment from "unsigned char *" to "char *".
+       (decode_line_info): Likewise for dwarf_line_buffer assignment.
+
 1999-05-05  Catherine Moore  <clm@cygnus.com>
 
         * coff-arm.c (coff_arm_relocate_section):  Add one to
index 385bf821b6ec85fc2b0f5d3aa4a1977427820213..1ea7cffb3d9d0d39edde8b068446460c28b6bb70 100644 (file)
@@ -423,7 +423,7 @@ read_abbrevs (abfd, offset)
        }
       
       stash->dwarf_abbrev_size = bfd_get_section_size_before_reloc (msec);
-      stash->dwarf_abbrev_buffer = (unsigned char*) bfd_alloc (abfd, stash->dwarf_abbrev_size);
+      stash->dwarf_abbrev_buffer = (char*) bfd_alloc (abfd, stash->dwarf_abbrev_size);
       if (! stash->dwarf_abbrev_buffer)
          return 0;
       
@@ -723,7 +723,7 @@ decode_line_info (unit)
        }
       
       size = bfd_get_section_size_before_reloc (msec);
-      dwarf_line_buffer = (unsigned char*) bfd_alloc (abfd, size);
+      dwarf_line_buffer = (char*) bfd_alloc (abfd, size);
       if (! dwarf_line_buffer)
        return 0;