Fix compilation of the BFD sub-directory with a gcc v8 compiler by adding extra casts.
[deliverable/binutils-gdb.git] / bfd / coff-mips.c
index 41ba4b56e92e10543e5ca442532bec3c8cc315cf..11eb0e1dba78ae68242f1685c9ffaa26d86f9cb5 100644 (file)
@@ -1244,13 +1244,13 @@ static const struct ecoff_backend_data mips_ecoff_backend_data =
 {
   /* COFF backend structure.  */
   {
-    (void (*) (bfd *,void *,int,int,int,int,void *)) bfd_void_any, /* aux_in */
-    (void (*) (bfd *,void *,void *)) bfd_void_any, /* sym_in */
-    (void (*) (bfd *,void *,void *)) bfd_void_any, /* lineno_in */
-    (unsigned (*) (bfd *,void *,int,int,int,int,void *)) bfd_0u_any,/*aux_out*/
-    (unsigned (*) (bfd *,void *,void *)) bfd_0u_any, /* sym_out */
-    (unsigned (*) (bfd *,void *,void *)) bfd_0u_any, /* lineno_out */
-    (unsigned (*) (bfd *,void *,void *)) bfd_0u_any, /* reloc_out */
+    (void (*) (bfd *,void *,int,int,int,int,void *)) (void (*)) bfd_void, /* aux_in */
+    (void (*) (bfd *,void *,void *)) (void (*)) bfd_void, /* sym_in */
+    (void (*) (bfd *,void *,void *)) (void (*)) bfd_void, /* lineno_in */
+    (unsigned (*) (bfd *,void *,int,int,int,int,void *)) (unsigned (*)) bfd_0u,/*aux_out*/
+    (unsigned (*) (bfd *,void *,void *)) (unsigned (*)) bfd_0u, /* sym_out */
+    (unsigned (*) (bfd *,void *,void *)) (unsigned (*)) bfd_0u, /* lineno_out */
+    (unsigned (*) (bfd *,void *,void *)) (unsigned (*)) bfd_0u, /* reloc_out */
     mips_ecoff_swap_filehdr_out, mips_ecoff_swap_aouthdr_out,
     mips_ecoff_swap_scnhdr_out,
     FILHSZ, AOUTSZ, SCNHSZ, 0, 0, 0, 0, FILNMLEN, TRUE,
This page took 0.023644 seconds and 4 git commands to generate.