bfd: install plugin-api.h as needed
[deliverable/binutils-gdb.git] / bfd / format.c
index 3de399f5af29a4609b5f0c9998df630c3da9dfb9..4d89a85e0aa4028419ed131dd3e998b06af889d7 100644 (file)
@@ -149,7 +149,7 @@ bfd_check_format_matches (bfd *abfd, bfd_format format, char ***matching)
       bfd_size_type amt;
 
       amt = sizeof (*matching_vector) * 2 * _bfd_target_vector_entries;
-      matching_vector = bfd_malloc (amt);
+      matching_vector = (const bfd_target **) bfd_malloc (amt);
       if (!matching_vector)
        return FALSE;
     }
This page took 0.023007 seconds and 4 git commands to generate.