From 220a97979fa0f4253325d482b287a90851d5b95c Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Fri, 25 Jan 2019 15:56:26 -0800 Subject: [PATCH] Use more compatible printf formatting. Change-Id: I5d5b46f3e6c4f5abff1c0efa3ea8b4f589c1e635 --- src/rtos/hwthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rtos/hwthread.c b/src/rtos/hwthread.c index cb8fb2069..8a271fb54 100644 --- a/src/rtos/hwthread.c +++ b/src/rtos/hwthread.c @@ -360,7 +360,7 @@ static int hwthread_thread_packet(struct connection *connection, const char *pac target->rtos->current_thread = threadid_from_target(target); target->rtos->current_threadid = current_threadid; - LOG_DEBUG("current_threadid=%ld", current_threadid); + LOG_DEBUG("current_threadid=%" PRId64, current_threadid); gdb_put_packet(connection, "OK", 2); return ERROR_OK;