summaryrefslogtreecommitdiffstats
path: root/src/Protocol/ProtocolRecognizer.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-03-09 15:04:12 +0100
committerMattes D <github@xoft.cz>2014-03-09 15:04:12 +0100
commit8a715db41f53dbf0ae838e7386d409fd8274e0ae (patch)
tree0ea2410e2775a93f1a97c2ff92a6c6deca9f55f1 /src/Protocol/ProtocolRecognizer.h
parentUpdated Core (diff)
parentFIxed int in test (diff)
downloadcuberite-8a715db41f53dbf0ae838e7386d409fd8274e0ae.tar
cuberite-8a715db41f53dbf0ae838e7386d409fd8274e0ae.tar.gz
cuberite-8a715db41f53dbf0ae838e7386d409fd8274e0ae.tar.bz2
cuberite-8a715db41f53dbf0ae838e7386d409fd8274e0ae.tar.lz
cuberite-8a715db41f53dbf0ae838e7386d409fd8274e0ae.tar.xz
cuberite-8a715db41f53dbf0ae838e7386d409fd8274e0ae.tar.zst
cuberite-8a715db41f53dbf0ae838e7386d409fd8274e0ae.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;