count t replacements

This commit is contained in:
Robin Müller 2020-08-25 13:33:31 +02:00
parent 7d2c48fb33
commit ba4eac65cc

View File

@ -23,7 +23,7 @@ SerialBufferAdapter<count_t>::~SerialBufferAdapter() {
template<typename count_t>
ReturnValue_t SerialBufferAdapter<count_t>::serialize(uint8_t** buffer,
size_t* size, size_t maxSize, Endianness streamEndianness) const {
uint32_t serializedLength = bufferLength;
count_t serializedLength = bufferLength;
if (serializeLength) {
serializedLength += SerializeAdapter::getSerializedSize(
&bufferLength);