Updated soruces in bfd/* to compile cleanly with -Wc++-compat.
[deliverable/binutils-gdb.git] / bfd / reloc.c
index 1738ec8a34d0b4059cd10a5e758a89210c00bfbd..3be29fea333d27d1b97a4df1d19acc87a4efc57b 100644 (file)
@@ -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;
 
This page took 0.024346 seconds and 4 git commands to generate.