1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2025-01-22 16:20:29 +01:00

(handler): Adjust printf format to avoid compiler warning.

(Logical change 1.123)
This commit is contained in:
hp.com!davidm 2003-11-24 21:37:22 +00:00
parent 64fa4c080a
commit 94f198b288

View file

@ -58,7 +58,7 @@ handler (int sig)
{
unw_get_reg(&c, UNW_REG_IP, &ip);
if (verbose)
printf ("%p: IP=%lx\n", pthread_self (), (unsigned long) ip);
printf ("%lx: IP=%lx\n", (long) pthread_self (), (unsigned long) ip);
}
while ((ret = unw_step(&c)) > 0);