Explicitly cast libxml error handler function

Review Request #3016 — Created March 11, 2024 and submitted — Latest diff uploaded

Information

pidgin/pidgin
default

Reviewers

Depending on compiler options, the const → non-const argument can fail in just the same way as it did in reverse. So add an explicit cast to silence that.

Compiled with gcc and clang on a system with older libxml2, which still had the non-const type. There, gcc raises a warning, but clang seems to think this is a fatal error.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Explicitly cast libxml error handler function
Depending on compiler options, the `const` → non-`const` argument can fail in just the same way as it did in reverse. So add an explicit cast to silence that.
2810502e5ce18211ab3204131b633c6edd15e6d8 Elliott Sales de Andrade
libpurple/protocols/bonjour/parser.c
libpurple/protocols/jabber/parser.c
Loading...