]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/xsym.c
Fix compilation of the BFD sub-directory with a gcc v8 compiler by adding extra casts.
[thirdparty/binutils-gdb.git] / bfd / xsym.c
index dc3ca5326a38240e6d222259781027a5fc066bd5..c51b715200977933a14c30a7a65b45f687a0967b 100644 (file)
@@ -30,7 +30,7 @@
 #define bfd_sym_bfd_free_cached_info               _bfd_generic_bfd_free_cached_info
 #define bfd_sym_new_section_hook                   _bfd_generic_new_section_hook
 #define bfd_sym_bfd_is_local_label_name                    bfd_generic_is_local_label_name
-#define bfd_sym_bfd_is_target_special_symbol      ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false_any)
+#define bfd_sym_bfd_is_target_special_symbol      ((bfd_boolean (*) (bfd *, asymbol *)) (bfd_boolean (*)) bfd_false)
 #define bfd_sym_get_lineno                         _bfd_nosymbols_get_lineno
 #define bfd_sym_find_nearest_line                  _bfd_nosymbols_find_nearest_line
 #define bfd_sym_find_line                          _bfd_nosymbols_find_line