summaryrefslogtreecommitdiff
path: root/src/resources/db/deaddb.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/deaddb.cpp
parent62fa493303fe3c191706090606ada885eaf184f5 (diff)
downloadmanaplus-01ac8bad77156f50ba57ddff5306714dc3815ef3.tar.gz
manaplus-01ac8bad77156f50ba57ddff5306714dc3815ef3.tar.bz2
manaplus-01ac8bad77156f50ba57ddff5306714dc3815ef3.tar.xz
manaplus-01ac8bad77156f50ba57ddff5306714dc3815ef3.zip
Fix compilation with pugixml.
Add macroses for XmlChar and XmlConstChar.
Diffstat (limited to 'src/resources/db/deaddb.cpp')
-rw-r--r--src/resources/db/deaddb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/db/deaddb.cpp b/src/resources/db/deaddb.cpp
index 778d88a0b..2d9293e0f 100644
--- a/src/resources/db/deaddb.cpp
+++ b/src/resources/db/deaddb.cpp
@@ -73,7 +73,7 @@ void DeadDB::loadXmlFile(const std::string &fileName,
}
else if (xmlNameEqual(node, "message"))
{
- char *const data = reinterpret_cast<char*>(
+ XmlChar *const data = reinterpret_cast<XmlChar*>(
XmlNodeGetContent(node));
if (!data)
continue;