[utils,test] fix invalid format string

This commit is contained in:
akallabeth
2024-11-19 17:56:45 +01:00
parent 16c57aec55
commit 38dab4b2ab

View File

@@ -129,8 +129,9 @@ int TestRingBuffer(int argc, char* argv[])
{
if (chunks[0].data[i] != i % 5)
{
(void)fprintf(stderr, "invalid byte at %d, got %" PRIu8 " instead of %d\n", i,
chunks[0].data[i], i % 5);
(void)fprintf(stderr,
"invalid byte at %" PRIuz ", got %" PRIu8 " instead of %" PRIuz "\n", i,
chunks[0].data[i], i % 5ULL);
return -1;
}
}