From 858d471f921c75d3963acff3dd3022b47c96f5dd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 19 Jan 2016 22:26:08 +0300 Subject: Add tests for xml macroses. --- src/utils/xml.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils/xml.cpp') diff --git a/src/utils/xml.cpp b/src/utils/xml.cpp index 4dc331c4f..4d7688b1b 100644 --- a/src/utils/xml.cpp +++ b/src/utils/xml.cpp @@ -167,7 +167,7 @@ namespace XML xmlChar *const prop = XmlGetProp(node, name); if (prop) { - ret = atoi(reinterpret_cast(prop)); + ret = atoi(reinterpret_cast(prop)); xmlFree(prop); } @@ -241,7 +241,7 @@ namespace XML const char *const name, const bool def) { - const xmlChar *const prop = XmlGetProp(node, name); + xmlChar *const prop = XmlGetProp(node, name); if (XmlStrEqual(prop, "true")) return true; -- cgit v1.2.3-70-g09d2