summaryrefslogtreecommitdiffstats
path: root/src/Protocol/ProtocolRecognizer.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-07 20:04:25 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-07 20:04:25 +0100
commitd33d72f0dc9ef8969c6b57592fbce54165641591 (patch)
treec6ec9bf91c4bf47b85c8d34020a2c9d906a72192 /src/Protocol/ProtocolRecognizer.h
parentFixed warnings (diff)
downloadcuberite-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 'src/Protocol/ProtocolRecognizer.h')
-rw-r--r--src/Protocol/ProtocolRecognizer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/ProtocolRecognizer.h b/src/Protocol/ProtocolRecognizer.h
index 6aaafedeb..d7fb8fad2 100644
--- a/src/Protocol/ProtocolRecognizer.h
+++ b/src/Protocol/ProtocolRecognizer.h
@@ -59,7 +59,7 @@ public:
static AString GetVersionTextFromInt(int a_ProtocolVersion);
/// Called when client sends some data:
- virtual void DataReceived(const char * a_Data, int a_Size) override;
+ virtual void DataReceived(const char * a_Data, size_t a_Size) override;
/// Sending stuff to clients (alphabetically sorted):
virtual void SendAttachEntity (const cEntity & a_Entity, const cEntity * a_Vehicle) override;