Explicitly cast libxml error handler function

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

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.

Summary ID
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
grim
  1. Great work! Thanks!!

  2. 
      
grim
Review request changed

Status: Closed (submitted)

Loading...