diff options
Diffstat (limited to 'bfd/binary.c')
-rw-r--r-- | bfd/binary.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/binary.c b/bfd/binary.c index ff7d1e0..9740756 100644 --- a/bfd/binary.c +++ b/bfd/binary.c @@ -143,7 +143,7 @@ mangle_name (bfd *abfd, char *suffix) + strlen (suffix) + sizeof "_binary__"); - buf = bfd_alloc (abfd, size); + buf = (char *) bfd_alloc (abfd, size); if (buf == NULL) return ""; @@ -167,7 +167,7 @@ binary_canonicalize_symtab (bfd *abfd, asymbol **alocation) unsigned int i; bfd_size_type amt = BIN_SYMS * sizeof (asymbol); - syms = bfd_alloc (abfd, amt); + syms = (asymbol *) bfd_alloc (abfd, amt); if (syms == NULL) return -1; |