summaryrefslogtreecommitdiff
path: root/src/item.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-08 22:48:11 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-08 22:48:11 +0300
commit767b8400fb086616616a298655f0bc2eaf239256 (patch)
tree9d82215887c79c596127506f50daf2ed31c23d8c /src/item.cpp
parentcd0de3bd2668294ab3174d3b5f032fefc25fa0e8 (diff)
downloadplus-767b8400fb086616616a298655f0bc2eaf239256.tar.gz
plus-767b8400fb086616616a298655f0bc2eaf239256.tar.bz2
plus-767b8400fb086616616a298655f0bc2eaf239256.tar.xz
plus-767b8400fb086616616a298655f0bc2eaf239256.zip
Fix code style in other files.
Diffstat (limited to 'src/item.cpp')
-rw-r--r--src/item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.cpp b/src/item.cpp
index 02c5d0c16..49a6bd7a6 100644
--- a/src/item.cpp
+++ b/src/item.cpp
@@ -71,7 +71,7 @@ void Item::setId(const int id, const unsigned char color)
mColor = color;
// Types 0 and 1 are not equippable items.
- mEquipment = id && getInfo().getType() >= 2;
+ mEquipment = id && static_cast<int>(getInfo().getType()) >= 2;
if (mImage)
mImage->decRef();