replaced zu with lu

This commit is contained in:
2021-01-15 15:21:13 +01:00
parent eb5548333e
commit f69d6d49c7
2 changed files with 3 additions and 2 deletions

View File

@ -10,7 +10,8 @@ void arrayprinter::print(const uint8_t *data, size_t size, OutputType type,
}
sif::info << "[";
#else
sif::printInfo("Printing data with size %zu: [", size);
// TODO: Use %zu or %lu depending on whether C99 support is given.
sif::printInfo("Printing data with size %lu: [", static_cast<unsigned long>(size));
#endif
if(type == OutputType::HEX) {
arrayprinter::printHex(data, size, maxCharPerLine);