From: Lucio Sauer Date: Sun, 2 Jun 2024 23:26:31 +0000 (+0200) Subject: Fix build failure with GCC 14 due to -Wincompatible-pointer-types X-Git-Tag: 1.6.3~18 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=58a94fccf94869f0c8462230479f2d6559d16ec7;p=thirdparty%2FFORT-validator.git Fix build failure with GCC 14 due to -Wincompatible-pointer-types Reported downstream at https://bugs.gentoo.org/928331 --- diff --git a/src/xml/relax_ng.c b/src/xml/relax_ng.c index 00d8a109..4470e7d6 100644 --- a/src/xml/relax_ng.c +++ b/src/xml/relax_ng.c @@ -36,7 +36,7 @@ relax_ng_log_warn(void *ctx, const char *msg, ...) } static void -relax_ng_log_str_err(void *userData, xmlErrorPtr error) +relax_ng_log_str_err(void *userData, const xmlError *error) { char *ptr;