aboutsummaryrefslogtreecommitdiff
path: root/bfd/dwarf2.c
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
commit7fafc0fd27df38ac432f5a06a4d477699a9c94ed (patch)
tree4f81eb4932bb57669c5b3945ff9f9dcb58236709 /bfd/dwarf2.c
parent82716b788e14918184e99a7ef97721fa87315959 (diff)
downloadgdb-7fafc0fd27df38ac432f5a06a4d477699a9c94ed.zip
gdb-7fafc0fd27df38ac432f5a06a4d477699a9c94ed.tar.gz
gdb-7fafc0fd27df38ac432f5a06a4d477699a9c94ed.tar.bz2
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/dwarf2.c')
-rw-r--r--bfd/dwarf2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index 385bf82..1ea7cff 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;