Fix some Wformat size_t warnings (#1726)

Printing a `size_t` requires the `%zu` specifier.

Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
Sven van Haastregt
2023-05-18 09:29:27 +01:00
committed by GitHub
parent 85c95297ac
commit 8f3027387a
2 changed files with 10 additions and 6 deletions

View File

@@ -28,7 +28,7 @@
{ \
if (reference != result) \
{ \
log_error("Expected %d was %d at index %u\n", reference, result, \
log_error("Expected %d was %d at index %zu\n", reference, result, \
index); \
return TEST_FAIL; \
} \