mirror of
https://github.com/stefanberger/libtpms
synced 2026-08-18 08:07:56 +00:00
tests: Use %zu for size_t
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
parent
1df35f6c77
commit
18cffed604
@ -87,7 +87,7 @@ int main(void)
|
||||
written = ANY_OBJECT_Marshal(&object, &buf, &size, &g_RuntimeProfile);
|
||||
if (written != exp_sizes[stateFormatLevel]) {
|
||||
fprintf(stderr,
|
||||
"Expected flattened OBJECT to have %d bytes, but it has %u.\n",
|
||||
"Expected flattened OBJECT to have %zu bytes, but it has %u.\n",
|
||||
exp_sizes[stateFormatLevel], written);
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user