rtos/hwthread: use printf format specifier
instead of typecast. Change-Id: I62e3a0faebd915615f6b72a456667c49970a4091 Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-on: https://review.openocd.org/c/openocd/+/8926 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
committed by
Antonio Borneo
parent
330b06b440
commit
c545b9c4ab
@@ -206,8 +206,8 @@ static int hwthread_update_threads(struct rtos *rtos)
|
||||
else
|
||||
rtos->current_thread = threadid_from_target(target);
|
||||
|
||||
LOG_TARGET_DEBUG(target, "current_thread=%i, threads_found=%d",
|
||||
(int)rtos->current_thread, threads_found);
|
||||
LOG_TARGET_DEBUG(target, "current_thread=%" PRId64 ", threads_found=%d",
|
||||
rtos->current_thread, threads_found);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user