Explicitly cast libxml error handler function
Review Request #3016 — Created March 11, 2024 and submitted
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
andclang
on a system with older libxml2, which still had the non-const
type. There,gcc
raises a warning, butclang
seems to think this is a fatal error.
Summary | ID |
---|---|
2810502e5ce18211ab3204131b633c6edd15e6d8 |