mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-06-30 21:21:45 +02:00
Cast printf() argument to avoid compiler warning.
(Logical change 1.130)
This commit is contained in:
parent
6c2e6e7f72
commit
722933b6bc
|
@ -86,7 +86,8 @@ handler (int sig)
|
||||||
unw_step(&c); /* step to signaller frame (main ()) */
|
unw_step(&c); /* step to signaller frame (main ()) */
|
||||||
unw_get_reg(&c, UNW_REG_IP, &ip);
|
unw_get_reg(&c, UNW_REG_IP, &ip);
|
||||||
if (verbose)
|
if (verbose)
|
||||||
printf ("resuming at 0x%lx, with SIGUSR2 pending\n", ip);
|
printf ("resuming at 0x%lx, with SIGUSR2 pending\n",
|
||||||
|
(unsigned long) ip);
|
||||||
unw_resume(&c);
|
unw_resume(&c);
|
||||||
}
|
}
|
||||||
else if (sig == SIGUSR2)
|
else if (sig == SIGUSR2)
|
||||||
|
|
Loading…
Reference in a new issue