diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-10 20:21:18 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-10 20:21:18 +0100 |
commit | bc556e7f00ee28198b5ba3e46c1c06caab8fc37b (patch) | |
tree | 01592f68380754db412e070f14d9069507fc107f /Tools/ProtoProxy/Connection.h | |
parent | Merge branch 'master' into Werror (diff) | |
download | cuberite-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 '')
-rw-r--r-- | Tools/ProtoProxy/Connection.h | 2 |
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); |