]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/srec.c
Fix compilation of the BFD sub-directory with a gcc v8 compiler by adding extra casts.
[thirdparty/binutils-gdb.git] / bfd / srec.c
index 5a2d90693dc813cacdd4f577e960d5959b65a779..10c6ceb176dabea890d0676ba564ef0b80ea6d65 100644 (file)
@@ -1257,7 +1257,7 @@ srec_print_symbol (bfd *abfd,
 #define        srec_close_and_cleanup                    _bfd_generic_close_and_cleanup
 #define srec_bfd_free_cached_info                _bfd_generic_bfd_free_cached_info
 #define srec_new_section_hook                    _bfd_generic_new_section_hook
-#define srec_bfd_is_target_special_symbol        ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false_any)
+#define srec_bfd_is_target_special_symbol        ((bfd_boolean (*) (bfd *, asymbol *)) (bfd_boolean (*)) bfd_false)
 #define srec_bfd_is_local_label_name             bfd_generic_is_local_label_name
 #define srec_get_lineno                                  _bfd_nosymbols_get_lineno
 #define srec_find_nearest_line                   _bfd_nosymbols_find_nearest_line