From dc569bbcb4c12a5a400f9e5701e5c1027badadae Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 30 Apr 2014 19:52:34 +0300 Subject: Fix code style in resources. --- src/resources/iteminfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/iteminfo.h') 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(mColors->size()) : 0; } std::string getColorName(const int idx) const; -- cgit v1.2.3-70-g09d2