Merge pull request #10873 from akallabeth/create-deb

[utils,test] fix invalid format string
This commit is contained in:
akallabeth
2024-11-19 18:06:45 +01:00
committed by GitHub

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;
}
}