From bd4b460b161ad676054e793215e735d08cc65033 Mon Sep 17 00:00:00 2001 From: Russell Greene Date: Mon, 11 Mar 2024 13:20:35 -0600 Subject: [PATCH] xml: make error struct constant As of https://gitlab.gnome.org/GNOME/libxml2/-/commit/61034116d0a3c8b295c6137956adc3ae55720711, the error struct in the callback is const --- src/arvxmlschema.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arvxmlschema.c b/src/arvxmlschema.c index 1e2263621..21be1fcb6 100644 --- a/src/arvxmlschema.c +++ b/src/arvxmlschema.c @@ -69,7 +69,7 @@ typedef struct { } XmlSchemaError; static void -_structured_error_handler (void *ctx, xmlErrorPtr error) +_structured_error_handler (void *ctx, const xmlError* error) { XmlSchemaError *schema_error = ctx;