diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-07 20:04:25 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-07 20:04:25 +0100 |
commit | d33d72f0dc9ef8969c6b57592fbce54165641591 (patch) | |
tree | c6ec9bf91c4bf47b85c8d34020a2c9d906a72192 /src/ByteBuffer.cpp | |
parent | Fixed warnings (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/ByteBuffer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ByteBuffer.cpp b/src/ByteBuffer.cpp index d2d3beb97..32a367462 100644 --- a/src/ByteBuffer.cpp +++ b/src/ByteBuffer.cpp @@ -171,7 +171,7 @@ cByteBuffer::~cByteBuffer() -bool cByteBuffer::Write(const char * a_Bytes, int a_Count) +bool cByteBuffer::Write(const char * a_Bytes, size_t a_Count) { CHECK_THREAD; CheckValid(); @@ -263,7 +263,7 @@ int cByteBuffer::GetReadableSpace(void) const -bool cByteBuffer::CanReadBytes(int a_Count) const +bool cByteBuffer::CanReadBytes(size_t a_Count) const { CHECK_THREAD; CheckValid(); @@ -274,7 +274,7 @@ bool cByteBuffer::CanReadBytes(int a_Count) const -bool cByteBuffer::CanWriteBytes(int a_Count) const +bool cByteBuffer::CanWriteBytes(size_t a_Count) const { CHECK_THREAD; CheckValid(); @@ -767,7 +767,7 @@ bool cByteBuffer::ReadUTF16String(AString & a_String, int a_NumChars) -bool cByteBuffer::SkipRead(int a_Count) +bool cByteBuffer::SkipRead(size_t a_Count) { CHECK_THREAD; CheckValid(); @@ -860,7 +860,7 @@ void cByteBuffer::ReadAgain(AString & a_Out) -void cByteBuffer::AdvanceReadPos(int a_Count) +void cByteBuffer::AdvanceReadPos(size_t a_Count) { CHECK_THREAD; CheckValid(); |