1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-16 23:11:44 +02:00

Fix another compiler warning.

This commit is contained in:
Belisko Marek 2009-10-16 14:26:55 -07:00 committed by Arun Sharma
parent 491d576529
commit 570c09a2af

View file

@ -120,7 +120,7 @@ sighandler (int signal)
name[0] = '\0';
off[0] = '\0';
if (unw_get_proc_name (&cursor, name, sizeof (name), &offset) == 0
&& off > 0)
&& offset > 0)
snprintf (off, sizeof (off), "+0x%lx", (long) offset);
if (verbose)
printf ("ip = %lx <%s%s>\n", (long) ip, name, off);