summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-12 20:53:30 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-12 20:53:30 +0300
commit387493ed0772f266dc323816d2e124c32fcae931 (patch)
tree16eaa9d38099c38d98d5390c6661028f551d7c60 /src/resources
parentc029c05437d0a730494600edf2304caf3b1eead5 (diff)
downloadmanaplus-387493ed0772f266dc323816d2e124c32fcae931.tar.gz
manaplus-387493ed0772f266dc323816d2e124c32fcae931.tar.bz2
manaplus-387493ed0772f266dc323816d2e124c32fcae931.tar.xz
manaplus-387493ed0772f266dc323816d2e124c32fcae931.zip
Fix code style.
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();