Changed cByteBuffer constructor to take a size_t instead of int.
This commit is contained in:
parent
695baed226
commit
449cf77420
@ -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
|
||||
|
@ -27,7 +27,7 @@ their own synchronization.
|
||||
class cByteBuffer
|
||||
{
|
||||
public:
|
||||
cByteBuffer(int a_BufferSize);
|
||||
cByteBuffer(size_t a_BufferSize);
|
||||
~cByteBuffer();
|
||||
|
||||
/// Writes the bytes specified to the ringbuffer. Returns true if successful, false if not
|
||||
|
Loading…
x
Reference in New Issue
Block a user