From ffdc4e39def91f2209d6dc7efd11ef81cd350fab Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 12 Feb 2024 13:43:03 +0100 Subject: Cygwin: dumper: use void* in place of PTR The definition of PTR has been dropped from newer versions of ansidecl.h. Convert definition of print_section_name to use void * instead, as required by bfd_map_over_sections. Signed-off-by: Corinna Vinschen (cherry picked from commit dace0bfa6c8c0ee8e3acc190212e1dd9e5a19677) --- winsup/utils/dumper.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/utils/dumper.cc b/winsup/utils/dumper.cc index 1bbf394..994f9b6 100644 --- a/winsup/utils/dumper.cc +++ b/winsup/utils/dumper.cc @@ -142,7 +142,7 @@ dumper::sane () } void -print_section_name (bfd* abfd, asection* sect, PTR obj) +print_section_name (bfd* abfd, asection* sect, void* obj) { deb_printf (" %s", get_section_name (abfd, sect)); } -- cgit v1.1