This is an automated email from Gerrit.

"Tomas Vanek <van...@fbl.cz>" just uploaded a new patch set to Gerrit, which 
you can find at https://review.openocd.org/c/openocd/+/8926

-- gerrit

commit eba2e7a04d2328748ffbe3d817c2b7c56e35043b
Author: Tomas Vanek <van...@fbl.cz>
Date:   Mon May 19 17:10:00 2025 +0200

    rtos/hwthread: use printf format specifier
    
    instead of typecast.
    
    Change-Id: I62e3a0faebd915615f6b72a456667c49970a4091
    Signed-off-by: Tomas Vanek <van...@fbl.cz>

diff --git a/src/rtos/hwthread.c b/src/rtos/hwthread.c
index 4156236c68..0fca159737 100644
--- a/src/rtos/hwthread.c
+++ b/src/rtos/hwthread.c
@@ -204,8 +204,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;
 }
 

-- 

Reply via email to