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.

Commits

Files