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/net/updatetypeoperators.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/net/updatetypeoperators.cpp') diff --git a/src/net/updatetypeoperators.cpp b/src/net/updatetypeoperators.cpp index 0a2444b99..1fad95ff9 100644 --- a/src/net/updatetypeoperators.cpp +++ b/src/net/updatetypeoperators.cpp @@ -24,15 +24,15 @@ int operator&(const UpdateTypeT &a, const UpdateTypeT &b) { - return static_cast(a) & static_cast(b); + return CAST_S32(a) & CAST_S32(b); } int operator|(const UpdateTypeT &a, const UpdateTypeT &b) { - return static_cast(a) | static_cast(b); + return CAST_S32(a) | CAST_S32(b); } int operator|(const int &a, const UpdateTypeT &b) { - return a | static_cast(b); + return a | CAST_S32(b); } -- cgit v1.2.3-70-g09d2