diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-10 19:56:23 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-10 19:56:23 +0100 |
commit | b78c729880705c1bf28f266b087046c4eaed8317 (patch) | |
tree | 46d6a460c5787529129f7def283d101321cb8ff7 /src/ByteBuffer.cpp | |
parent | Removed Some unnessicary macros (diff) | |
download | cuberite-b78c729880705c1bf28f266b087046c4eaed8317.tar cuberite-b78c729880705c1bf28f266b087046c4eaed8317.tar.gz cuberite-b78c729880705c1bf28f266b087046c4eaed8317.tar.bz2 cuberite-b78c729880705c1bf28f266b087046c4eaed8317.tar.lz cuberite-b78c729880705c1bf28f266b087046c4eaed8317.tar.xz cuberite-b78c729880705c1bf28f266b087046c4eaed8317.tar.zst cuberite-b78c729880705c1bf28f266b087046c4eaed8317.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ByteBuffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ByteBuffer.cpp b/src/ByteBuffer.cpp index 96a135562..a7553786e 100644 --- a/src/ByteBuffer.cpp +++ b/src/ByteBuffer.cpp @@ -767,7 +767,7 @@ bool cByteBuffer::ReadUTF16String(AString & a_String, int a_NumChars) { return false; } - RawBEToUTF8((short *)(RawData.data()), a_NumChars, a_String); + RawBEToUTF8((RawData.data()), a_NumChars, a_String); return true; } |