when retrieving data from an inbuffer, no longer restrict ourselves to uint32
This commit is contained in:
parent
edd0bb7028
commit
328d9d12de
|
|
@ -128,7 +128,7 @@ public:
|
|||
* @param size
|
||||
* @return char*
|
||||
*/
|
||||
const char *nextData(uint32_t size);
|
||||
const char *nextData(size_t size);
|
||||
|
||||
/**
|
||||
* The checker may access private data
|
||||
|
|
|
|||
|
|
@ -166,7 +166,7 @@ double InBuffer::nextDouble()
|
|||
* @param size
|
||||
* @return char*
|
||||
*/
|
||||
const char *InBuffer::nextData(uint32_t size)
|
||||
const char *InBuffer::nextData(size_t size)
|
||||
{
|
||||
// check if there is enough size
|
||||
BufferCheck check(this, size);
|
||||
|
|
|
|||
Loading…
Reference in New Issue