diff options
Diffstat (limited to 'src/resources/db')
-rw-r--r-- | src/resources/db/deaddb.cpp | 2 | ||||
-rw-r--r-- | src/resources/db/questdb.cpp | 2 |
2 files changed, 2 insertions, 2 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; 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; |