Updated soruces in bfd/* to compile cleanly with -Wc++-compat.
[deliverable/binutils-gdb.git] / bfd / elf64-x86-64.c
index 709ca505560de1ff684983b0cbdfc38402f569df..4fb325a9b0ee36e06dce3a8e224e1009745c4c56 100644 (file)
@@ -517,8 +517,9 @@ elf64_x86_64_link_hash_newfunc (struct bfd_hash_entry *entry,
      subclass.  */
   if (entry == NULL)
     {
-      entry = bfd_hash_allocate (table,
-                                sizeof (struct elf64_x86_64_link_hash_entry));
+      entry = (struct bfd_hash_entry *)
+          bfd_hash_allocate (table,
+                             sizeof (struct elf64_x86_64_link_hash_entry));
       if (entry == NULL)
        return entry;
     }
This page took 0.036772 seconds and 4 git commands to generate.