Skip to content

Commit db8707f

Browse files
committed
fix pointer type
1 parent 5df35f0 commit db8707f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/perf_trampoline.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ perf_map_write_entry(void *state, const void *code_addr,
253253
NULL);
254254
return;
255255
}
256-
fprintf(method_file, "%llx %x py::%s:%s\n", code_addr, code_size, entry,
256+
fprintf(method_file, "%" PRIxPTR " %x py::%s:%s\n", (intptr_t) code_addr, code_size, entry,
257257
filename);
258258
fflush(method_file);
259259
}

0 commit comments

Comments
 (0)