From 8f934b0cdeaf8b8018532f8d92d5c2b60d21a019 Mon Sep 17 00:00:00 2001 From: Liu Date: Sat, 24 Aug 2024 16:25:06 +0800 Subject: [PATCH] refactor(ui-xml): clear compiler errors --- lib/ui-xml/src/ui_xml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui-xml/src/ui_xml.c b/lib/ui-xml/src/ui_xml.c index 4f5c4a368..a6b115cdd 100644 --- a/lib/ui-xml/src/ui_xml.c +++ b/lib/ui-xml/src/ui_xml.c @@ -58,7 +58,7 @@ struct xml_parser_t { code = CODE; \ goto exit; -static void xmlPrintErrorMessage(xmlErrorPtr err) +static void xmlPrintErrorMessage(const xmlError *err) { logger_error("[builder] %s (%d): error %d: %s\n", err->file ? err->file : "(memory)", err->line, err->code,