mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
basic: fix size_t Wformat warnings (#2264)
Printing of a `size_t` requires the `%zu` specifier. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
committed by
GitHub
parent
9c5999bc1d
commit
ea934a7648
@@ -140,8 +140,8 @@ int test_constant(cl_device_id device, cl_context context,
|
||||
|
||||
|
||||
log_info(
|
||||
"Test will attempt to use %lu bytes with one %lu byte constant int "
|
||||
"buffer and one %lu byte constant float buffer.\n",
|
||||
"Test will attempt to use %zu bytes with one %zu byte constant int "
|
||||
"buffer and one %zu byte constant float buffer.\n",
|
||||
constant_values * sizeof(cl_int) + constant_values * sizeof(cl_float),
|
||||
constant_values * sizeof(cl_int), constant_values * sizeof(cl_float));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user