Skip to content

Commit

Permalink
Merge pull request #8450 from hzhou/2208_debug
Browse files Browse the repository at this point in the history
UCS/DEBUG: replace PTR with void *
  • Loading branch information
yosefe committed Aug 17, 2022
2 parents 4324187 + 6b6128e commit edd1492
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ucs/debug/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,10 +272,10 @@ static int load_file(struct backtrace_file *file)
goto err_close;
}

symcount = bfd_read_minisymbols(file->abfd, 0, (PTR)&file->syms, &size);
symcount = bfd_read_minisymbols(file->abfd, 0, (void *)&file->syms, &size);
if (symcount == 0) {
free(file->syms);
symcount = bfd_read_minisymbols(file->abfd, 1, (PTR)&file->syms, &size);
symcount = bfd_read_minisymbols(file->abfd, 1, (void *)&file->syms, &size);
}
if (symcount < 0) {
goto err_close;
Expand Down

0 comments on commit edd1492

Please sign in to comment.