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/map/map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/map/map.h') diff --git a/src/resources/map/map.h b/src/resources/map/map.h index ea540907a..4ee387f8f 100644 --- a/src/resources/map/map.h +++ b/src/resources/map/map.h @@ -290,7 +290,7 @@ class Map final : public Properties, public ConfigListener const int y) const restrict2 A_WARN_UNUSED; int getActorsCount() const restrict2 A_WARN_UNUSED - { return static_cast(mActors.size()); } + { return CAST_S32(mActors.size()); } void setPvpMode(const int mode) restrict2; -- cgit v1.2.3-60-g2f50