summaryrefslogtreecommitdiff
path: root/src/resources/db/questdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-21 05:25:21 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-21 05:25:21 +0300
commit01ac8bad77156f50ba57ddff5306714dc3815ef3 (patch)
tree5595cba954c4ea6c7a656a165fb2f39860918096 /src/resources/db/questdb.cpp
parent62fa493303fe3c191706090606ada885eaf184f5 (diff)
downloadmanaverse-01ac8bad77156f50ba57ddff5306714dc3815ef3.tar.gz
manaverse-01ac8bad77156f50ba57ddff5306714dc3815ef3.tar.bz2
manaverse-01ac8bad77156f50ba57ddff5306714dc3815ef3.tar.xz
manaverse-01ac8bad77156f50ba57ddff5306714dc3815ef3.zip
Fix compilation with pugixml.
Add macroses for XmlChar and XmlConstChar.
Diffstat (limited to 'src/resources/db/questdb.cpp')
-rw-r--r--src/resources/db/questdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/db/questdb.cpp b/src/resources/db/questdb.cpp
index da05721b1..89228f038 100644
--- a/src/resources/db/questdb.cpp
+++ b/src/resources/db/questdb.cpp
@@ -83,7 +83,7 @@ static void loadQuest(const int var,
{
if (!xmlTypeEqual(dataNode, XML_ELEMENT_NODE))
continue;
- char *const data = reinterpret_cast<char*>(
+ XmlChar *const data = reinterpret_cast<XmlChar*>(
XmlNodeGetContent(dataNode));
if (!data)
continue;