summaryrefslogtreecommitdiff
path: root/src/resources/db/chardb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db/chardb.cpp')
-rw-r--r--src/resources/db/chardb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/db/chardb.cpp b/src/resources/db/chardb.cpp
index 80ddedc37..2d4e2fee2 100644
--- a/src/resources/db/chardb.cpp
+++ b/src/resources/db/chardb.cpp
@@ -48,7 +48,7 @@ void CharDB::load()
XML::Document *doc = new XML::Document(
paths.getStringValue("charCreationFile"));
- const XmlNodePtr root = doc->rootNode();
+ const XmlNodePtrConst root = doc->rootNode();
if (!root || !xmlNameEqual(root, "chars"))
{