when retrieving data from an inbuffer, no longer restrict ourselves to uint32

This commit is contained in:
Emiel Bruijntjes 2022-04-25 11:16:57 +02:00
parent edd0bb7028
commit 328d9d12de
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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);