summaryrefslogtreecommitdiffstats
path: root/Tools/ProtoProxy/Connection.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-10 20:21:18 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-10 20:21:18 +0100
commitbc556e7f00ee28198b5ba3e46c1c06caab8fc37b (patch)
tree01592f68380754db412e070f14d9069507fc107f /Tools/ProtoProxy/Connection.h
parentMerge branch 'master' into Werror (diff)
downloadcuberite-bc556e7f00ee28198b5ba3e46c1c06caab8fc37b.tar
cuberite-bc556e7f00ee28198b5ba3e46c1c06caab8fc37b.tar.gz
cuberite-bc556e7f00ee28198b5ba3e46c1c06caab8fc37b.tar.bz2
cuberite-bc556e7f00ee28198b5ba3e46c1c06caab8fc37b.tar.lz
cuberite-bc556e7f00ee28198b5ba3e46c1c06caab8fc37b.tar.xz
cuberite-bc556e7f00ee28198b5ba3e46c1c06caab8fc37b.tar.zst
cuberite-bc556e7f00ee28198b5ba3e46c1c06caab8fc37b.zip
Diffstat (limited to 'Tools/ProtoProxy/Connection.h')
-rw-r--r--Tools/ProtoProxy/Connection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/ProtoProxy/Connection.h b/Tools/ProtoProxy/Connection.h
index 5e4f8cd7b..70b759d0f 100644
--- a/Tools/ProtoProxy/Connection.h
+++ b/Tools/ProtoProxy/Connection.h
@@ -109,7 +109,7 @@ protected:
bool SendData(SOCKET a_Socket, cByteBuffer & a_Data, const char * a_Peer);
/// Sends data to the specfied socket, after encrypting it using a_Encryptor. If sending fails, prints a fail message using a_Peer and returns false
- bool SendEncryptedData(SOCKET a_Socket, cAESCFBEncryptor & a_Encryptor, const char * a_Data, int a_Size, const char * a_Peer);
+ bool SendEncryptedData(SOCKET a_Socket, cAESCFBEncryptor & a_Encryptor, const char * a_Data, size_t a_Size, const char * a_Peer);
/// Sends data to the specfied socket, after encrypting it using a_Encryptor. If sending fails, prints a fail message using a_Peer and returns false
bool SendEncryptedData(SOCKET a_Socket, cAESCFBEncryptor & a_Encryptor, cByteBuffer & a_Data, const char * a_Peer);