From dace0bfa6c8c0ee8e3acc190212e1dd9e5a19677 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 12 Feb 2024 13:43:03 +0100 Subject: [PATCH] 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 --- 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 1bbf394fd..994f9b683 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)); } -- 2.43.5