summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-05-01 23:03:23 +0200
committermadmaxoft <github@xoft.cz>2014-05-01 23:03:23 +0200
commite24bdc9328278b676c7acf83fd9f31b430561b98 (patch)
tree6037461b9f07ef09ab8c2ecd6f1347edc386fb2d /src/ClientHandle.cpp
parentFixed warnings in ClientHandle. (diff)
downloadcuberite-e24bdc9328278b676c7acf83fd9f31b430561b98.tar
cuberite-e24bdc9328278b676c7acf83fd9f31b430561b98.tar.gz
cuberite-e24bdc9328278b676c7acf83fd9f31b430561b98.tar.bz2
cuberite-e24bdc9328278b676c7acf83fd9f31b430561b98.tar.lz
cuberite-e24bdc9328278b676c7acf83fd9f31b430561b98.tar.xz
cuberite-e24bdc9328278b676c7acf83fd9f31b430561b98.tar.zst
cuberite-e24bdc9328278b676c7acf83fd9f31b430561b98.zip
Diffstat (limited to '')
-rw-r--r--src/ClientHandle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index 7a4158491..4ed0d682f 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -716,7 +716,7 @@ void cClientHandle::UnregisterPluginChannels(const AStringVector & a_ChannelList
-void cClientHandle::HandleCommandBlockMessage(const char * a_Data, unsigned int a_Length)
+void cClientHandle::HandleCommandBlockMessage(const char * a_Data, size_t a_Length)
{
if (a_Length < 14)
{
@@ -2522,7 +2522,7 @@ void cClientHandle::SendWindowOpen(const cWindow & a_Window)
-void cClientHandle::SendWindowProperty(const cWindow & a_Window, short a_Property, short a_Value)
+void cClientHandle::SendWindowProperty(const cWindow & a_Window, int a_Property, int a_Value)
{
m_Protocol->SendWindowProperty(a_Window, a_Property, a_Value);
}