https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=dace0bfa6c8c0ee8e3acc190212e1dd9e5a19677
commit dace0bfa6c8c0ee8e3acc190212e1dd9e5a19677 Author: Corinna Vinschen <[email protected]> AuthorDate: Mon Feb 12 13:43:03 2024 +0100 Commit: Corinna Vinschen <[email protected]> CommitDate: Mon Feb 12 13:43:03 2024 +0100 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 <[email protected]> Diff: --- 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 1bbf394fd76d..994f9b683c72 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)); }
