small bugfix

This commit is contained in:
Robin Müller 2020-11-03 23:26:28 +01:00
parent 65aecc3565
commit f72ee0b7ac

View File

@ -63,7 +63,7 @@ public:
/* Endianness will always be MACHINE, so we can simply use memcpy
here. */
std::memcpy(timeStamp, *buffer, timeStampSize);
*size += timeStampSize;
*size -= timeStampSize;
*buffer += timeStampSize;
}