summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-30 19:52:34 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-30 19:52:34 +0300
commitdc569bbcb4c12a5a400f9e5701e5c1027badadae (patch)
tree9b502cafda345e7fb4b0342de97c77822544d9fd /src/resources/iteminfo.h
parent88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce (diff)
downloadmanaplus-dc569bbcb4c12a5a400f9e5701e5c1027badadae.tar.gz
manaplus-dc569bbcb4c12a5a400f9e5701e5c1027badadae.tar.bz2
manaplus-dc569bbcb4c12a5a400f9e5701e5c1027badadae.tar.xz
manaplus-dc569bbcb4c12a5a400f9e5701e5c1027badadae.zip
Fix code style in resources.
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r--src/resources/iteminfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h
index d3df1c448..93a2d447f 100644
--- a/src/resources/iteminfo.h
+++ b/src/resources/iteminfo.h
@@ -298,7 +298,7 @@ class ItemInfo final
{ return mProtected; }
int getColorsSize() const
- { return mColors ? mColors->size() : 0; }
+ { return mColors ? static_cast<int>(mColors->size()) : 0; }
std::string getColorName(const int idx) const;