Skip to content

Commit

Permalink
libbacktrace: add cast to avoid warning
Browse files Browse the repository at this point in the history
	* print.c (print_syminfo_callback): Add cast to avoid warning.
  • Loading branch information
ianlancetaylor committed Jul 18, 2024
1 parent 9e10af0 commit f37b51d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion print.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ static void print_syminfo_callback (void *data, uintptr_t pc,
fprintf (pdata->f, "0x%lx ???\n\t%s+0x%lx:0\n",
(unsigned long) pc,
symname,
pc - symval);
(unsigned long) (pc - symval));
}

/* Print one level of a backtrace. */
Expand Down

0 comments on commit f37b51d

Please sign in to comment.