diff options
author | madmaxoft <github@xoft.cz> | 2014-04-04 08:55:48 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-04-04 08:55:48 +0200 |
commit | 446a6515029e66b1f76358dcee1ccfe59c432bdd (patch) | |
tree | 8635f884130e06999a2ba7908b3715cde540d316 /Tools/ProtoProxy/Connection.h | |
parent | APIDump: Added angular specifics. (diff) | |
download | cuberite-446a6515029e66b1f76358dcee1ccfe59c432bdd.tar cuberite-446a6515029e66b1f76358dcee1ccfe59c432bdd.tar.gz cuberite-446a6515029e66b1f76358dcee1ccfe59c432bdd.tar.bz2 cuberite-446a6515029e66b1f76358dcee1ccfe59c432bdd.tar.lz cuberite-446a6515029e66b1f76358dcee1ccfe59c432bdd.tar.xz cuberite-446a6515029e66b1f76358dcee1ccfe59c432bdd.tar.zst cuberite-446a6515029e66b1f76358dcee1ccfe59c432bdd.zip |
Diffstat (limited to 'Tools/ProtoProxy/Connection.h')
-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 70b759d0f..9e04994b7 100644 --- a/Tools/ProtoProxy/Connection.h +++ b/Tools/ProtoProxy/Connection.h @@ -103,7 +103,7 @@ protected: double GetRelativeTime(void); /// Sends data to the specified socket. If sending fails, prints a fail message using a_Peer and returns false. - bool SendData(SOCKET a_Socket, const char * a_Data, int a_Size, const char * a_Peer); + bool SendData(SOCKET a_Socket, const char * a_Data, size_t a_Size, const char * a_Peer); /// Sends data to the specified socket. If sending fails, prints a fail message using a_Peer and returns false. bool SendData(SOCKET a_Socket, cByteBuffer & a_Data, const char * a_Peer); |