Fix compile time warning messages from gcc version 8 about cast between incompatible...
[deliverable/binutils-gdb.git] / bfd / coffcode.h
index ec0103e8f624b0d908e2953cbb4e8bf1bb895aff..aaf5add3216e61dfea5d53d954c8cb779e46a1c3 100644 (file)
@@ -1986,7 +1986,7 @@ coff_set_alignment_hook (bfd *abfd, asection *section, void * scnhdr)
 #else /* ! RS6000COFF_C */
 
 #define coff_set_alignment_hook \
-  ((void (*) (bfd *, asection *, void *)) bfd_void)
+  ((void (*) (bfd *, asection *, void *)) bfd_void_any)
 
 #endif /* ! RS6000COFF_C */
 #endif /* ! COFF_WITH_PE */
@@ -2508,7 +2508,7 @@ symname_in_debug_hook (bfd * abfd ATTRIBUTE_UNUSED, struct internal_syment *sym)
 #else
 
 #define symname_in_debug_hook \
-  (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false
+  (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false_any
 
 #endif
 
@@ -6024,7 +6024,7 @@ static bfd_coff_backend_data bigobj_swap_table =
 #endif
 
 #ifndef coff_bfd_is_target_special_symbol
-#define coff_bfd_is_target_special_symbol   ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false)
+#define coff_bfd_is_target_special_symbol   ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false_any)
 #endif
 
 #ifndef coff_read_minisymbols
This page took 0.024947 seconds and 4 git commands to generate.