Skip to content

Commit

Permalink
fix pointer type
Browse files Browse the repository at this point in the history
  • Loading branch information
art049 committed Apr 20, 2023
1 parent f4d1de8 commit 0ba49e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/perf_trampoline.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 0ba49e2

Please sign in to comment.