--- libxslt-1.1.39/tests/runtest.c.old 2023-11-16 12:36:28.000000000 +0000 +++ libxslt-1.1.39/tests/runtest.c 2024-05-05 16:25:22.656618600 +0000 @@ -269,7 +269,7 @@ xmlParserPrintFileContextInternal(xmlPar } static void -testStructuredErrorHandler(void *ctx ATTRIBUTE_UNUSED, const xmlError *err) { +testStructuredErrorHandler(void *ctx ATTRIBUTE_UNUSED, xmlError *err) { char *file = NULL; int line = 0; int code = -1;