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
@@ -133,7 +133,7 @@ int test_copy3D(const cl_device_id deviceID, const cl_context context,
|
||||
int error;
|
||||
|
||||
log_info(
|
||||
"Testing %d byte element with srcLineMargin = %d, dstLineMargin = %d, "
|
||||
"Testing %zu byte element with srcLineMargin = %d, dstLineMargin = %d, "
|
||||
"srcPlaneMargin = %d, dstPlaneMargin = %d\n",
|
||||
elementSize, srcLineMargin, dstLineMargin, srcPlaneMargin,
|
||||
dstPlaneMargin);
|
||||
@@ -255,8 +255,8 @@ int test_copy3D(const cl_device_id deviceID, const cl_context context,
|
||||
|
||||
if ((localBufferSize / 4) > max_work_group_size)
|
||||
{
|
||||
log_info("Skipping due to resource requirements local:%db "
|
||||
"max_work_group_size:%d\n",
|
||||
log_info("Skipping due to resource requirements local:%zub "
|
||||
"max_work_group_size:%zu\n",
|
||||
localBufferSize, max_work_group_size);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user