diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/tmwa/messageout.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/tmwa/messageout.cpp b/src/net/tmwa/messageout.cpp index 17314937d..b6fcc09a1 100644 --- a/src/net/tmwa/messageout.cpp +++ b/src/net/tmwa/messageout.cpp @@ -82,7 +82,8 @@ void MessageOut::writeInt32(Sint32 value) } #define LOBYTE(w) (static_cast<unsigned char>(w)) -#define HIBYTE(w) (static_cast<unsigned char>((static_cast<unsigned short>(w)) >> 8)) +#define HIBYTE(w) (static_cast<unsigned char>(( \ +static_cast<unsigned short>(w)) >> 8)) void MessageOut::writeCoordinates(unsigned short x, unsigned short y, unsigned char direction) |