summaryrefslogtreecommitdiffstats
path: root/src/StringUtils.h
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/StringUtils.h
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 '')
-rw-r--r--src/StringUtils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StringUtils.h b/src/StringUtils.h
index dfbfc2a75..b64108409 100644
--- a/src/StringUtils.h
+++ b/src/StringUtils.h
@@ -58,7 +58,7 @@ extern unsigned int RateCompareString(const AString & s1, const AString & s2 );
extern void ReplaceString(AString & iHayStack, const AString & iNeedle, const AString & iReplaceWith); // tolua_export
/// Converts a stream of BE shorts into UTF-8 string; returns a ref to a_UTF8
-extern AString & RawBEToUTF8(short * a_RawData, int a_NumShorts, AString & a_UTF8);
+extern AString & RawBEToUTF8(const char * a_RawData, int a_NumShorts, AString & a_UTF8);
/// Converts a UTF-8 string into a UTF-16 BE string, packing that back into AString; return a ref to a_UTF16
extern AString & UTF8ToRawBEUTF16(const char * a_UTF8, size_t a_UTF8Length, AString & a_UTF16);