summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/beingcommon.cpp2
-rw-r--r--src/resources/db/elementaldb.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/beingcommon.cpp b/src/resources/beingcommon.cpp
index 6f9c3aa6d..2b63063f8 100644
--- a/src/resources/beingcommon.cpp
+++ b/src/resources/beingcommon.cpp
@@ -62,7 +62,7 @@ void BeingCommon::readWalkingAttributes(BeingInfo *const info,
std::string walkStr = XML::getProperty(
node, "walkType", "walk");
- const int allFlags = BlockMask::GROUND |
+ const unsigned char allFlags = BlockMask::GROUND |
BlockMask::WALL |
BlockMask::WATER |
BlockMask::AIR |
diff --git a/src/resources/db/elementaldb.cpp b/src/resources/db/elementaldb.cpp
index 6706c0acb..928200404 100644
--- a/src/resources/db/elementaldb.cpp
+++ b/src/resources/db/elementaldb.cpp
@@ -52,7 +52,7 @@ void ElementalDb::load()
}
void ElementalDb::loadXmlFile(const std::string &fileName,
- const SkipError skipError)
+ const SkipError skipError)
{
XML::Document doc(fileName, UseResman_true, skipError);
const XmlNodePtr rootNode = doc.rootNode();