Fix old style casts and implicit conversions

This commit is contained in:
Matti Hänninen
2015-08-12 16:51:38 +03:00
parent d118550a5b
commit b20294604c
18 changed files with 153 additions and 145 deletions
+2 -2
View File
@@ -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;