Updated soruces in bfd/* to compile cleanly with -Wc++-compat.
[deliverable/binutils-gdb.git] / bfd / elfcore.h
index f9d578860ecb1536dc845abeae2f570393e57ea2..c51c575606d7db86a1b456d2c3d23b2014a36e95 100644 (file)
@@ -190,7 +190,7 @@ elf_core_file_p (bfd *abfd)
 
   /* Allocate space for the program headers.  */
   amt = sizeof (*i_phdrp) * i_ehdrp->e_phnum;
-  i_phdrp = bfd_alloc (abfd, amt);
+  i_phdrp = (Elf_Internal_Phdr *) bfd_alloc (abfd, amt);
   if (!i_phdrp)
     goto fail;
 
This page took 0.025007 seconds and 4 git commands to generate.