diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-07 20:04:25 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-07 20:04:25 +0100 |
commit | d33d72f0dc9ef8969c6b57592fbce54165641591 (patch) | |
tree | c6ec9bf91c4bf47b85c8d34020a2c9d906a72192 /src/Protocol/Protocol.h | |
parent | Fixed warnings (diff) | |
download | cuberite-d33d72f0dc9ef8969c6b57592fbce54165641591.tar cuberite-d33d72f0dc9ef8969c6b57592fbce54165641591.tar.gz cuberite-d33d72f0dc9ef8969c6b57592fbce54165641591.tar.bz2 cuberite-d33d72f0dc9ef8969c6b57592fbce54165641591.tar.lz cuberite-d33d72f0dc9ef8969c6b57592fbce54165641591.tar.xz cuberite-d33d72f0dc9ef8969c6b57592fbce54165641591.tar.zst cuberite-d33d72f0dc9ef8969c6b57592fbce54165641591.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/Protocol.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol.h b/src/Protocol/Protocol.h index b5560f7c1..d3383bf0d 100644 --- a/src/Protocol/Protocol.h +++ b/src/Protocol/Protocol.h @@ -52,7 +52,7 @@ public: virtual ~cProtocol() {} /// Called when client sends some data - virtual void DataReceived(const char * a_Data, int a_Size) = 0; + virtual void DataReceived(const char * a_Data, size_t a_Size) = 0; // Sending stuff to clients (alphabetically sorted): virtual void SendAttachEntity (const cEntity & a_Entity, const cEntity * a_Vehicle) = 0; |