From 35362965d6a795c3cbc9c558d3686cf1c8a7877c Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Fri, 24 Apr 2020 22:13:43 +0800 Subject: [PATCH] cltuil.c:fix build warning (#1419) --- selfdrive/common/clutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/common/clutil.c b/selfdrive/common/clutil.c index 0040e4dd6a..22c9b45de1 100644 --- a/selfdrive/common/clutil.c +++ b/selfdrive/common/clutil.c @@ -85,7 +85,7 @@ void cl_print_info(cl_platform_id platform, cl_device_id device) { size_t sz; clGetDeviceInfo(device, CL_DEVICE_MAX_WORK_GROUP_SIZE, sizeof(sz), &sz, NULL); - printf("max work group size: %u\n", sz); + printf("max work group size: %zu\n", sz); cl_device_type type; clGetDeviceInfo(device, CL_DEVICE_TYPE, sizeof(type), &type, NULL);