From aa151123a08a9a7f708e41048596dab20b16f1d7 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Fri, 10 Apr 2026 19:41:40 +0100 Subject: [PATCH] Fix format string mismatch for `uint64_t` in `_remote_debugging/threads.c` --- Modules/_remote_debugging/threads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_remote_debugging/threads.c b/Modules/_remote_debugging/threads.c index a38bb945169a77..07f8148d7c941a 100644 --- a/Modules/_remote_debugging/threads.c +++ b/Modules/_remote_debugging/threads.c @@ -192,7 +192,7 @@ get_thread_status(RemoteUnwinderObject *unwinder, uint64_t tid, uint64_t pthread char stat_path[256]; char buffer[2048] = ""; - snprintf(stat_path, sizeof(stat_path), "/proc/%d/task/%lu/stat", unwinder->handle.pid, tid); + snprintf(stat_path, sizeof(stat_path), "/proc/%d/task/%" PRIu64 "/stat", unwinder->handle.pid, tid); int fd = open(stat_path, O_RDONLY); if (fd == -1) {