summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/utils/xml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/xml.cpp b/src/utils/xml.cpp
index 43e5be34b..5f691fd68 100644
--- a/src/utils/xml.cpp
+++ b/src/utils/xml.cpp
@@ -213,7 +213,7 @@ namespace XML
LIBXML_TEST_VERSION;
// Suppress libxml2 error messages
- xmlSetGenericErrorFunc(nullptr, xmlNullLogger);
+ xmlSetGenericErrorFunc(nullptr, &xmlNullLogger);
}
// Shutdown libxml