mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-02-16 18:21:41 +01:00
Fix another compiler warning.
This commit is contained in:
parent
491d576529
commit
570c09a2af
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue