From 43603d621587987cc4609960dfd4666f95ac0e93 Mon Sep 17 00:00:00 2001 From: Ilan Truanovsky Date: Mon, 9 Jan 2023 07:24:39 -0800 Subject: [PATCH] Change integer printf statement to size_t type This change fixes this coverity issue: src/acl_offline_hal.cpp:182:69: Type: Invalid type in argument to printf format specifier (PRINTF_ARGS) --- src/acl_offline_hal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/acl_offline_hal.cpp b/src/acl_offline_hal.cpp index 1e2aaefc..f9f1631f 100644 --- a/src/acl_offline_hal.cpp +++ b/src/acl_offline_hal.cpp @@ -179,7 +179,7 @@ static void acl_offline_hal_copy_hostmem_to_hostmem(cl_event event, acl_offline_hal_event_callback( event, CL_RUNNING); // in "real life" this in response to a hw message - acl_print_debug_msg(" Copying %d bytes from %p to %p event %p\n", size, src, + acl_print_debug_msg(" Copying %zu bytes from %p to %p event %p\n", size, src, dest, event); memmove(dest, src, size); acl_offline_hal_event_callback(