summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/SocketThreads.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-04-02 15:36:25 +0200
committerTycho <work.tycho+git@gmail.com>2014-04-02 15:36:25 +0200
commit1f5a4a39f2cd9f63a7e5695689042d3c43b2e83b (patch)
tree34333266e925b76a486ff465bac6b6cd01606dc8 /src/OSSupport/SocketThreads.h
parentFixed format string in HTTPConnection (diff)
downloadcuberite-1f5a4a39f2cd9f63a7e5695689042d3c43b2e83b.tar
cuberite-1f5a4a39f2cd9f63a7e5695689042d3c43b2e83b.tar.gz
cuberite-1f5a4a39f2cd9f63a7e5695689042d3c43b2e83b.tar.bz2
cuberite-1f5a4a39f2cd9f63a7e5695689042d3c43b2e83b.tar.lz
cuberite-1f5a4a39f2cd9f63a7e5695689042d3c43b2e83b.tar.xz
cuberite-1f5a4a39f2cd9f63a7e5695689042d3c43b2e83b.tar.zst
cuberite-1f5a4a39f2cd9f63a7e5695689042d3c43b2e83b.zip
Diffstat (limited to '')
-rw-r--r--src/OSSupport/SocketThreads.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OSSupport/SocketThreads.h b/src/OSSupport/SocketThreads.h
index b2eb5950f..679e374e1 100644
--- a/src/OSSupport/SocketThreads.h
+++ b/src/OSSupport/SocketThreads.h
@@ -64,7 +64,7 @@ public:
virtual ~cCallback() {}
/** Called when data is received from the remote party */
- virtual void DataReceived(const char * a_Data, int a_Size) = 0;
+ virtual void DataReceived(const char * a_Data, size_t a_Size) = 0;
/** Called when data can be sent to remote party
The function is supposed to *set* outgoing data to a_Data (overwrite) */