From b20294604c5a64a39b3c5f4491b653e4cf2a3c20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matti=20H=C3=A4nninen?= Date: Wed, 5 Aug 2015 01:24:59 +0300 Subject: Fix old style casts and implicit conversions --- src/ClientHandle.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ClientHandle.h') diff --git a/src/ClientHandle.h b/src/ClientHandle.h index 618ade22a..a347732cd 100644 --- a/src/ClientHandle.h +++ b/src/ClientHandle.h @@ -310,7 +310,7 @@ public: // tolua_export */ bool HandleHandshake (const AString & a_Username); - void HandleKeepAlive (int a_KeepAliveID); + void HandleKeepAlive (UInt32 a_KeepAliveID); void HandleLeftClick (int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace, UInt8 a_Status); /** Called when the protocol receives a MC|TrSel packet, indicating that the player used a trade in @@ -413,7 +413,7 @@ private: std::chrono::steady_clock::duration m_Ping; /** ID of the last ping request sent to the client. */ - int m_PingID; + UInt32 m_PingID; /** Time of the last ping request sent to the client. */ std::chrono::steady_clock::time_point m_PingStartTime; -- cgit v1.2.3