From 4e43459392158d4a76f2b9f977f2030f841bdcfe Mon Sep 17 00:00:00 2001 From: Arthur Pastel Date: Thu, 20 Apr 2023 19:11:26 +0200 Subject: [PATCH] fix pointer type --- Python/perf_trampoline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/perf_trampoline.c b/Python/perf_trampoline.c index 8bfbc0eb73146f5..3b183280e1f24c1 100644 --- a/Python/perf_trampoline.c +++ b/Python/perf_trampoline.c @@ -253,7 +253,7 @@ perf_map_write_entry(void *state, const void *code_addr, NULL); return; } - fprintf(method_file, "%llx %x py::%s:%s\n", code_addr, code_size, entry, + fprintf(method_file, "%" PRIxPTR " %x py::%s:%s\n", (uintptr_t) code_addr, code_size, entry, filename); fflush(method_file); }