]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/libecoff.h
Fix compilation of the BFD sub-directory with a gcc v8 compiler by adding extra casts.
[thirdparty/binutils-gdb.git] / bfd / libecoff.h
index ea97840f67f7d3fcadecb08a6067c4c9bd03c877..e3890c582a5230acc143695206402a88d6030384 100644 (file)
@@ -277,7 +277,7 @@ extern bfd_boolean _bfd_ecoff_write_armap
 #define _bfd_ecoff_generic_stat_arch_elt bfd_generic_stat_arch_elt
 #define _bfd_ecoff_update_armap_timestamp bfd_true
 #define _bfd_ecoff_bfd_is_target_special_symbol  \
-  ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false_any)
+  ((bfd_boolean (*) (bfd *, asymbol *)) (bfd_boolean (*)) bfd_false)
 
 extern long _bfd_ecoff_get_symtab_upper_bound (bfd *);
 extern long _bfd_ecoff_canonicalize_symtab (bfd *, asymbol **);
@@ -327,7 +327,7 @@ extern bfd_boolean _bfd_ecoff_bfd_final_link
 
 extern void * _bfd_ecoff_mkobject_hook (bfd *, void *, void *);
 #define _bfd_ecoff_set_alignment_hook \
-  ((void (*) (bfd *, asection *, void *)) bfd_void_any)
+  ((void (*) (bfd *, asection *, void *)) (void (*)) bfd_void)
 extern bfd_boolean _bfd_ecoff_set_arch_mach_hook
   (bfd *, void *);
 extern bfd_boolean _bfd_ecoff_no_long_sections