Updated soruces in bfd/* to compile cleanly with -Wc++-compat.
[deliverable/binutils-gdb.git] / bfd / targets.c
index 8ac65d760538b8d72bfafb14815bb0c6de2a7e5a..a33790bcbe67ff7c2e3080a4a65913c30e5c7c51 100644 (file)
@@ -1455,7 +1455,7 @@ bfd_target_list (void)
     vec_length++;
 
   amt = (vec_length + 1) * sizeof (char **);
-  name_ptr = name_list = bfd_malloc (amt);
+  name_ptr = name_list = (const  char **) bfd_malloc (amt);
 
   if (name_list == NULL)
     return NULL;
This page took 0.025822 seconds and 4 git commands to generate.