diff options
author | archshift <admin@archshift.com> | 2014-04-25 05:25:03 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-04-25 05:25:03 +0200 |
commit | 62e5234535d1825b152c882fdaea9d2257194e6d (patch) | |
tree | c1fc8bb364b713c81ead55c95d7eee097cda4eae /src/ByteBuffer.cpp | |
parent | Oops, fixed that. (diff) | |
download | cuberite-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.cpp | 2 |
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 |