summaryrefslogtreecommitdiffstats
path: root/src/ByteBuffer.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-10 19:56:23 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-10 19:56:23 +0100
commitb78c729880705c1bf28f266b087046c4eaed8317 (patch)
tree46d6a460c5787529129f7def283d101321cb8ff7 /src/ByteBuffer.cpp
parentRemoved Some unnessicary macros (diff)
downloadcuberite-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 'src/ByteBuffer.cpp')
-rw-r--r--src/ByteBuffer.cpp2
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;
}