Skip to content

Commit

Permalink
cltuil.c:fix build warning (commaai#1419)
Browse files Browse the repository at this point in the history
  • Loading branch information
deanlee authored Apr 24, 2020
1 parent 6840f96 commit 3536296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/common/clutil.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3536296

Please sign in to comment.