Cast to void pointer for %p in commented out code [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2021-10-03 12:02:58 +09:00
parent 7c01cf4908
commit 768ceb4ead
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
3 changed files with 10 additions and 9 deletions

View file

@ -2138,7 +2138,7 @@ found_mach_header:
char *strtab = file + cmd->stroff, *sname = 0;
uint32_t j;
uintptr_t saddr = 0;
/* kprintf("[%2d]: %x/symtab %p\n", i, cmd->cmd, p); */
/* kprintf("[%2d]: %x/symtab %p\n", i, cmd->cmd, (void *)p); */
for (j = 0; j < cmd->nsyms; j++) {
uintptr_t symsize, d;
struct LP(nlist) *e = &nl[j];