summaryrefslogtreecommitdiffstats
path: root/src/ByteBuffer.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-04-25 05:25:03 +0200
committerarchshift <admin@archshift.com>2014-04-25 05:25:03 +0200
commit62e5234535d1825b152c882fdaea9d2257194e6d (patch)
treec1fc8bb364b713c81ead55c95d7eee097cda4eae /src/ByteBuffer.cpp
parentOops, fixed that. (diff)
downloadcuberite-62e5234535d1825b152c882fdaea9d2257194e6d.tar
cuberite-62e5234535d1825b152c882fdaea9d2257194e6d.tar.gz
cuberite-62e5234535d1825b152c882fdaea9d2257194e6d.tar.bz2
cuberite-62e5234535d1825b152c882fdaea9d2257194e6d.tar.lz
cuberite-62e5234535d1825b152c882fdaea9d2257194e6d.tar.xz
cuberite-62e5234535d1825b152c882fdaea9d2257194e6d.tar.zst
cuberite-62e5234535d1825b152c882fdaea9d2257194e6d.zip
Diffstat (limited to '')
-rw-r--r--src/ByteBuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ByteBuffer.cpp b/src/ByteBuffer.cpp
index 1893d89a8..c634dc308 100644
--- a/src/ByteBuffer.cpp
+++ b/src/ByteBuffer.cpp
@@ -143,7 +143,7 @@ protected:
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// cByteBuffer:
-cByteBuffer::cByteBuffer(int a_BufferSize) :
+cByteBuffer::cByteBuffer(size_t a_BufferSize) :
m_Buffer(new char[a_BufferSize + 1]),
m_BufferSize(a_BufferSize + 1),
#ifdef _DEBUG