summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-19 15:05:38 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:25 +0300
commit8ebbfd2f170175cf0127a75d9f0dc727c56da948 (patch)
treead491078c2b2d95afca48e410fcf4e41f13a844a /src
parent3feb3ff102358390f11a032ac98870656cdd639a (diff)
downloadplus-8ebbfd2f170175cf0127a75d9f0dc727c56da948.tar.gz
plus-8ebbfd2f170175cf0127a75d9f0dc727c56da948.tar.bz2
plus-8ebbfd2f170175cf0127a75d9f0dc727c56da948.tar.xz
plus-8ebbfd2f170175cf0127a75d9f0dc727c56da948.zip
improve function pointers usage in xml.
Diffstat (limited to 'src')
-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