From 767b8400fb086616616a298655f0bc2eaf239256 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 8 May 2014 22:48:11 +0300 Subject: Fix code style in other files. --- src/item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/item.cpp') 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(getInfo().getType()) >= 2; if (mImage) mImage->decRef(); -- cgit v1.2.3-60-g2f50