summaryrefslogtreecommitdiffstats
path: root/src/StringUtils.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-04 10:31:50 +0200
committermadmaxoft <github@xoft.cz>2014-04-04 10:31:50 +0200
commit5dee19648d8b3b068698fd1c9cb62e9038bf0e2c (patch)
tree25416bf9c8a88374100342a68b711245d714c1aa /src/StringUtils.cpp
parentFixed silly Clang's warnings in FastNBT. (diff)
downloadcuberite-5dee19648d8b3b068698fd1c9cb62e9038bf0e2c.tar
cuberite-5dee19648d8b3b068698fd1c9cb62e9038bf0e2c.tar.gz
cuberite-5dee19648d8b3b068698fd1c9cb62e9038bf0e2c.tar.bz2
cuberite-5dee19648d8b3b068698fd1c9cb62e9038bf0e2c.tar.lz
cuberite-5dee19648d8b3b068698fd1c9cb62e9038bf0e2c.tar.xz
cuberite-5dee19648d8b3b068698fd1c9cb62e9038bf0e2c.tar.zst
cuberite-5dee19648d8b3b068698fd1c9cb62e9038bf0e2c.zip
Diffstat (limited to 'src/StringUtils.cpp')
-rw-r--r--src/StringUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StringUtils.cpp b/src/StringUtils.cpp
index ad622d707..f46730150 100644
--- a/src/StringUtils.cpp
+++ b/src/StringUtils.cpp
@@ -531,7 +531,7 @@ AString & UTF8ToRawBEUTF16(const char * a_UTF8, size_t a_UTF8Length, AString & a
format binary data this way:
00001234: 31 32 33 34 35 36 37 38 39 30 61 62 63 64 65 66 1234567890abcdef
*/
-AString & CreateHexDump(AString & a_Out, const void * a_Data, int a_Size, int a_LineLength)
+AString & CreateHexDump(AString & a_Out, const void * a_Data, size_t a_Size, int a_LineLength)
{
ASSERT(a_LineLength <= 120); // Due to using a fixed size line buffer; increase line[]'s size to lift this max
char line[512];