mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
libbacktrace: add cast to avoid warning
* print.c (print_syminfo_callback): Add cast to avoid warning.
This commit is contained in:
parent
144b6099cd
commit
93c54caa64
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user