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/messageout.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/messageout.h') diff --git a/src/net/messageout.h b/src/net/messageout.h index 6fcb06cc3..8771f5240 100644 --- a/src/net/messageout.h +++ b/src/net/messageout.h @@ -30,7 +30,7 @@ #include "localconsts.h" #define createOutPacket(name) MessageOut outMsg(name); \ - outMsg.writeInt16(static_cast(name), #name) + outMsg.writeInt16(CAST_S16(name), #name) namespace Net { -- cgit v1.2.3-70-g09d2