From 7fe862834b9727429bb00e5756b4fe357ea7ba35 Mon Sep 17 00:00:00 2001 From: Matt Mundell Date: Thu, 5 Dec 2024 15:51:14 +0200 Subject: [PATCH] Fix: add const for libxml2 2.12.0 API change --- util/xmlutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/xmlutils.c b/util/xmlutils.c index e6edba5f..fbcf4f48 100644 --- a/util/xmlutils.c +++ b/util/xmlutils.c @@ -3030,7 +3030,7 @@ xml_file_iterator_next (xml_file_iterator_t iterator, gchar **error) { if (error) { - xmlErrorPtr xml_error; + const xmlError *xml_error; xml_error = xmlCtxtGetLastError (iterator->parser_ctxt); *error = g_strdup_printf ("error parsing XML" " (line %d column %d): %s",