aboutsummaryrefslogtreecommitdiff
path: root/bfd/reloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/reloc.c')
-rw-r--r--bfd/reloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/reloc.c b/bfd/reloc.c
index 1738ec8..3be29fe 100644
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -5475,7 +5475,7 @@ bfd_generic_get_relocated_section_contents (bfd *abfd,
if (reloc_size == 0)
return data;
- reloc_vector = bfd_malloc (reloc_size);
+ reloc_vector = (arelent **) bfd_malloc (reloc_size);
if (reloc_vector == NULL)
return NULL;