diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-08 16:37:33 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-08 16:37:33 +0100 |
commit | 38ba8684f86e67ccf34dbe26ba82798e8b1c11ea (patch) | |
tree | 9c397be5ba205c1630daf368f4eed6e3d60a9ea3 | |
parent | Merge branch 'warnings' into Werror (diff) | |
parent | Actually Fixed ByteBuffer (diff) | |
download | cuberite-38ba8684f86e67ccf34dbe26ba82798e8b1c11ea.tar cuberite-38ba8684f86e67ccf34dbe26ba82798e8b1c11ea.tar.gz cuberite-38ba8684f86e67ccf34dbe26ba82798e8b1c11ea.tar.bz2 cuberite-38ba8684f86e67ccf34dbe26ba82798e8b1c11ea.tar.lz cuberite-38ba8684f86e67ccf34dbe26ba82798e8b1c11ea.tar.xz cuberite-38ba8684f86e67ccf34dbe26ba82798e8b1c11ea.tar.zst cuberite-38ba8684f86e67ccf34dbe26ba82798e8b1c11ea.zip |
-rw-r--r-- | src/ByteBuffer.cpp | 6 |
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(); |