diff options
author | r.ramazanov <r.ramazanov@servplus.ru> | 2014-04-25 08:06:12 +0200 |
---|---|---|
committer | r.ramazanov <r.ramazanov@servplus.ru> | 2014-04-25 08:06:12 +0200 |
commit | 1c26eb715b7f5eb9854c7c17d1100f0a61a0c7a3 (patch) | |
tree | 980565110fab2977471b7975a63ac2018bfe1c91 /src/ByteBuffer.cpp | |
parent | Merge branch 'master' of https://github.com/mc-server/MCServer (diff) | |
parent | Merge pull request #929 from archshift/master (diff) | |
download | cuberite-1c26eb715b7f5eb9854c7c17d1100f0a61a0c7a3.tar cuberite-1c26eb715b7f5eb9854c7c17d1100f0a61a0c7a3.tar.gz cuberite-1c26eb715b7f5eb9854c7c17d1100f0a61a0c7a3.tar.bz2 cuberite-1c26eb715b7f5eb9854c7c17d1100f0a61a0c7a3.tar.lz cuberite-1c26eb715b7f5eb9854c7c17d1100f0a61a0c7a3.tar.xz cuberite-1c26eb715b7f5eb9854c7c17d1100f0a61a0c7a3.tar.zst cuberite-1c26eb715b7f5eb9854c7c17d1100f0a61a0c7a3.zip |
Diffstat (limited to 'src/ByteBuffer.cpp')
-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 |