From 8ebbfd2f170175cf0127a75d9f0dc727c56da948 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 19 Oct 2013 15:05:38 +0300 Subject: improve function pointers usage in xml. --- src/utils/xml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2