summaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1999-05-06 17:12:02 +0000
committerRichard Henderson <rth@redhat.com>1999-05-06 17:12:02 +0000
commite238e51e090018da87f7fd3f8872abaacd2330be (patch)
treefaa08762750bb22f82bbd06af4dd9667fb944e73 /bfd
parent78de54b3ef0d79a956452d90f25c5b4d95b4746f (diff)
downloadgdb-e238e51e090018da87f7fd3f8872abaacd2330be.tar.gz
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.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/dwarf2.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 36b421bd8a5..9784c1fb505 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index 385bf821b6e..1ea7cffb3d9 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -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;