summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-08 16:36:52 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-08 16:36:52 +0100
commit9b47366d0323f09c77b607da778191e79b65335b (patch)
tree8507c146883025ff8c869dfcd18d04dea6eb8a38 /src
parentDisable -Werror on this branch (diff)
downloadcuberite-9b47366d0323f09c77b607da778191e79b65335b.tar
cuberite-9b47366d0323f09c77b607da778191e79b65335b.tar.gz
cuberite-9b47366d0323f09c77b607da778191e79b65335b.tar.bz2
cuberite-9b47366d0323f09c77b607da778191e79b65335b.tar.lz
cuberite-9b47366d0323f09c77b607da778191e79b65335b.tar.xz
cuberite-9b47366d0323f09c77b607da778191e79b65335b.tar.zst
cuberite-9b47366d0323f09c77b607da778191e79b65335b.zip
Diffstat (limited to '')
-rw-r--r--src/ByteBuffer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ByteBuffer.cpp b/src/ByteBuffer.cpp
index 32a367462..8080c1bdc 100644
--- a/src/ByteBuffer.cpp
+++ b/src/ByteBuffer.cpp
@@ -650,7 +650,7 @@ bool cByteBuffer::WriteLEInt(int a_Value)
-bool cByteBuffer::ReadBuf(void * a_Buffer, int a_Count)
+bool cByteBuffer::ReadBuf(void * a_Buffer, size_t a_Count)
{
CHECK_THREAD;
CheckValid();
@@ -684,7 +684,7 @@ bool cByteBuffer::ReadBuf(void * a_Buffer, int a_Count)
-bool cByteBuffer::WriteBuf(const void * a_Buffer, int a_Count)
+bool cByteBuffer::WriteBuf(const void * a_Buffer, size_t a_Count)
{
CHECK_THREAD;
CheckValid();
@@ -714,7 +714,7 @@ bool cByteBuffer::WriteBuf(const void * a_Buffer, int a_Count)
-bool cByteBuffer::ReadString(AString & a_String, int a_Count)
+bool cByteBuffer::ReadString(AString & a_String, size_t a_Count)
{
CHECK_THREAD;
CheckValid();