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/guild.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/guild.h') diff --git a/src/guild.h b/src/guild.h index 1621ff359..7e5b63a40 100644 --- a/src/guild.h +++ b/src/guild.h @@ -151,7 +151,7 @@ class Guild final : public AvatarListModel * @return Returns the number of members in the guild. */ int getNumberOfElements() override final A_WARN_UNUSED - { return static_cast(mMembers.size()); } + { return CAST_S32(mMembers.size()); } Avatar *getAvatarAt(const int i) override final A_WARN_UNUSED; -- cgit v1.2.3-70-g09d2