mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-19 22:27:39 +01:00
(unw_regname): Fix signed/unsigned comparison.
(Logical change 1.104)
This commit is contained in:
parent
522e2ccbe0
commit
87e2dfb9af
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ static const char *regname[] =
|
||||||
const char *
|
const char *
|
||||||
unw_regname (unw_regnum_t reg)
|
unw_regname (unw_regnum_t reg)
|
||||||
{
|
{
|
||||||
if (reg < NELEMS (regname))
|
if (reg < (unw_regnum_t) NELEMS (regname))
|
||||||
return regname[reg];
|
return regname[reg];
|
||||||
else
|
else
|
||||||
return "???";
|
return "???";
|
||||||
|
|
Loading…
Reference in a new issue