Tue, 21 Jan 2025 10:31:34 -0600
Fix some type conversion errors
This is a patch from Debian #1085148 to fix some type conversation errors which was actually a back port of /r/3016/ and /r/3018/
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085148
Testing Done:
Compiled successfully.
Reviewed at https://reviews.imfreedom.org/r/3777/
--- a/libpurple/protocols/bonjour/parser.c Fri Oct 25 02:38:45 2024 -0500 +++ b/libpurple/protocols/bonjour/parser.c Tue Jan 21 10:31:34 2025 -0600 @@ -197,7 +197,7 @@ NULL, /*_private*/ bonjour_parser_element_start_libxml, /*startElementNs*/ bonjour_parser_element_end_libxml, /*endElementNs*/ - bonjour_parser_structured_error_handler /*serror*/ + (xmlStructuredErrorFunc)bonjour_parser_structured_error_handler /*serror*/ }; void
--- a/libpurple/protocols/jabber/parser.c Fri Oct 25 02:38:45 2024 -0500 +++ b/libpurple/protocols/jabber/parser.c Tue Jan 21 10:31:34 2025 -0600 @@ -246,7 +246,7 @@ NULL, /*_private*/ jabber_parser_element_start_libxml, /*startElementNs*/ jabber_parser_element_end_libxml, /*endElementNs*/ - jabber_parser_structured_error_handler /*serror*/ + (xmlStructuredErrorFunc)jabber_parser_structured_error_handler /*serror*/ }; void
--- a/libpurple/xmlnode.c Fri Oct 25 02:38:45 2024 -0500 +++ b/libpurple/xmlnode.c Tue Jan 21 10:31:34 2025 -0600 @@ -700,7 +700,7 @@ NULL, /* _private */ xmlnode_parser_element_start_libxml, /* startElementNs */ xmlnode_parser_element_end_libxml, /* endElementNs */ - xmlnode_parser_structural_error_libxml, /* serror */ + (xmlStructuredErrorFunc)xmlnode_parser_structural_error_libxml, /* serror */ }; xmlnode *