semaphore: fix Wformat warning (#2194)
Some checks failed
Presubmit / Build ubuntu-22.04 gl (push) Failing after 2s
Presubmit / Build ubuntu-22.04 aarch64 debug (push) Failing after 1s
Presubmit / Build ubuntu-22.04 arm (push) Failing after 1s
Presubmit / Build ubuntu-22.04 android-aarch64 (push) Failing after 1s
Presubmit / Build ubuntu-22.04 android-arm (push) Failing after 2s
Presubmit / Check code format (push) Failing after 5m1s
Presubmit / Build macos-latest (push) Has been cancelled
Presubmit / Build windows-latest (push) Has been cancelled
Some checks failed
Presubmit / Build ubuntu-22.04 gl (push) Failing after 2s
Presubmit / Build ubuntu-22.04 aarch64 debug (push) Failing after 1s
Presubmit / Build ubuntu-22.04 arm (push) Failing after 1s
Presubmit / Build ubuntu-22.04 android-aarch64 (push) Failing after 1s
Presubmit / Build ubuntu-22.04 android-arm (push) Failing after 2s
Presubmit / Check code format (push) Failing after 5m1s
Presubmit / Build macos-latest (push) Has been cancelled
Presubmit / Build windows-latest (push) Has been cancelled
`i` is an `int`, so shouldn't use the `%zu` specifier for printing. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
parent
e17e6eef7b
commit
9bb8a89bbd
1 changed files with 1 additions and 1 deletions
|
|
@ -277,7 +277,7 @@ struct SemaphoreOutOfOrderOps : public SemaphoreTestBase
|
|||
{
|
||||
if (pattern != host_buffer[i])
|
||||
{
|
||||
log_error("Expected %d was %d at index %zu\n", pattern,
|
||||
log_error("Expected %d was %d at index %d\n", pattern,
|
||||
host_buffer[i], i);
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue