replaced zu with lu
This commit is contained in:
parent
eb5548333e
commit
f69d6d49c7
@ -10,7 +10,8 @@ void arrayprinter::print(const uint8_t *data, size_t size, OutputType type,
|
|||||||
}
|
}
|
||||||
sif::info << "[";
|
sif::info << "[";
|
||||||
#else
|
#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
|
#endif
|
||||||
if(type == OutputType::HEX) {
|
if(type == OutputType::HEX) {
|
||||||
arrayprinter::printHex(data, size, maxCharPerLine);
|
arrayprinter::printHex(data, size, maxCharPerLine);
|
||||||
|
@ -152,7 +152,7 @@ void PosixThread::createTask(void* (*fnc_)(void*), void* arg_) {
|
|||||||
" the requested " << stackMb << " MB" << std::endl;
|
" the requested " << stackMb << " MB" << std::endl;
|
||||||
#else
|
#else
|
||||||
sif::printError("PosixThread::createTask: Insufficient memory for "
|
sif::printError("PosixThread::createTask: Insufficient memory for "
|
||||||
"the requested %zu MB\n", stackMb);
|
"the requested %lu MB\n", static_cast<unsigned long>(stackMb));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else if(errno == EINVAL) {
|
else if(errno == EINVAL) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user