summaryrefslogtreecommitdiff
path: root/src/utils/xml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/xml.cpp')
-rw-r--r--src/utils/xml.cpp4
1 files changed, 2 insertions, 2 deletions
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<char*>(prop));
+ ret = atoi(reinterpret_cast<const char*>(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;