shlomif / perl-XML-LibXML

The XML-LibXML CPAN Distribution for Processing XML using the libxml2 library
https://metacpan.org/release/XML-LibXML
Other
17 stars 35 forks source link

libxml-mm: Fix function prototypes in function pointers #75

Closed kraj closed 1 year ago

kraj commented 1 year ago

This is now detected with latest clang16+

Fixes error: incompatible function pointer types passing 'void (void , void , xmlChar )' (aka 'void (void , void , unsigned char )') to parameter of type 'xmlHashScanner' (aka 'void ()(void , void , const unsigned char )') [-Wincompatible-function-pointer-types] xmlHashScan(r, PmmRegistryDumpHashScanner, NULL);

Signed-off-by: Khem Raj raj.khem@gmail.com

shlomif commented 1 year ago

merged, thx. sorry it took me solong.