summaryrefslogtreecommitdiffstats
path: root/src/ByteBuffer.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-05-01 22:54:22 +0200
committermadmaxoft <github@xoft.cz>2014-05-01 22:54:22 +0200
commitfb173a756ca7c0cd9ebfde70e5a5af0a78faa884 (patch)
tree06522b11607aa1614e5f30c9a42ef628109b424a /src/ByteBuffer.h
parentFixed warning in BlockID. (diff)
downloadcuberite-fb173a756ca7c0cd9ebfde70e5a5af0a78faa884.tar
cuberite-fb173a756ca7c0cd9ebfde70e5a5af0a78faa884.tar.gz
cuberite-fb173a756ca7c0cd9ebfde70e5a5af0a78faa884.tar.bz2
cuberite-fb173a756ca7c0cd9ebfde70e5a5af0a78faa884.tar.lz
cuberite-fb173a756ca7c0cd9ebfde70e5a5af0a78faa884.tar.xz
cuberite-fb173a756ca7c0cd9ebfde70e5a5af0a78faa884.tar.zst
cuberite-fb173a756ca7c0cd9ebfde70e5a5af0a78faa884.zip
Diffstat (limited to 'src/ByteBuffer.h')
-rw-r--r--src/ByteBuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ByteBuffer.h b/src/ByteBuffer.h
index 7656a5b13..929c93167 100644
--- a/src/ByteBuffer.h
+++ b/src/ByteBuffer.h
@@ -101,7 +101,7 @@ public:
bool ReadString(AString & a_String, size_t a_Count);
/// Reads 2 * a_NumChars bytes and interprets it as a UTF16-BE string, converting it into UTF8 string a_String
- bool ReadUTF16String(AString & a_String, int a_NumChars);
+ bool ReadUTF16String(AString & a_String, size_t a_NumChars);
/// Skips reading by a_Count bytes; returns false if not enough bytes in the ringbuffer
bool SkipRead(size_t a_Count);