mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
semaphore: fix Wformat warning (#2194)
`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:
committed by
GitHub
parent
e17e6eef7b
commit
9bb8a89bbd
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user