diff options
author | madmaxoft <github@xoft.cz> | 2014-05-01 23:20:00 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-05-01 23:20:00 +0200 |
commit | 6bdd3ee35e85768634e41af86a99bbdd933ffb3a (patch) | |
tree | 5481ae6b270a197f4a57341dfc42fb98343022b0 /src/ByteBuffer.h | |
parent | Merge branch 'master' into SslWebAdmin (diff) | |
parent | Fixed a warning in Noise. (diff) | |
download | cuberite-6bdd3ee35e85768634e41af86a99bbdd933ffb3a.tar cuberite-6bdd3ee35e85768634e41af86a99bbdd933ffb3a.tar.gz cuberite-6bdd3ee35e85768634e41af86a99bbdd933ffb3a.tar.bz2 cuberite-6bdd3ee35e85768634e41af86a99bbdd933ffb3a.tar.lz cuberite-6bdd3ee35e85768634e41af86a99bbdd933ffb3a.tar.xz cuberite-6bdd3ee35e85768634e41af86a99bbdd933ffb3a.tar.zst cuberite-6bdd3ee35e85768634e41af86a99bbdd933ffb3a.zip |
Diffstat (limited to 'src/ByteBuffer.h')
-rw-r--r-- | src/ByteBuffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ByteBuffer.h b/src/ByteBuffer.h index c5ff05922..adaa00330 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); |