Fix incompatible type conversion errors
Review Request #2950 — Created Feb. 10, 2024 and submitted — Latest diff uploaded
A recent libxml2 changed its handler function to take a
const
pointer. It's
safe for us to have it, and them not, but the opposite way causes an implicit
cast warning.This fixes the build in Fedora 40, which changes several incompatible pointer
conversion warnings into errors.This is a forward port of /r/2944/
Compiled on Fedora Rawhide.