From 9fe21fcd8883b37bdc30224822e6e42afb35b8f0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Feb 2016 16:18:13 +0300 Subject: Replace most static_cast to shorter versions from defines. --- src/resources/iteminfo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/iteminfo.h') diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h index b58ae0b60..2bf4e7980 100644 --- a/src/resources/iteminfo.h +++ b/src/resources/iteminfo.h @@ -292,11 +292,11 @@ class ItemInfo final { return mProtected; } int getColorsSize() const - { return mColorsList ? static_cast(mColorsList->size()) : 0; } + { return mColorsList ? CAST_S32(mColorsList->size()) : 0; } int getIconColorsSize() const { - return mIconColorsList ? static_cast(mIconColorsList->size()) + return mIconColorsList ? CAST_S32(mIconColorsList->size()) : 0; } -- cgit v1.2.3-60-g2f50