1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-26 00:57:39 +01:00

Fix missing NELEMS -> ARRAY_SIZE adjustment.

(Logical change 1.290)
This commit is contained in:
hp.com!davidm 2005-05-03 09:13:17 +00:00
parent 09c959ad30
commit df5acdd24a
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ static const char *regname[] =
PROTECTED const char *
unw_regname (unw_regnum_t reg)
{
if (reg < (unw_regnum_t) NELEMS (regname))
if (reg < (unw_regnum_t) ARRAY_SIZE (regname))
return regname[reg];
else
return "???";

View file

@ -49,7 +49,7 @@ static const char *regname[] =
PROTECTED const char *
unw_regname (unw_regnum_t reg)
{
if (reg < (unw_regnum_t) NELEMS (regname))
if (reg < (unw_regnum_t) ARRAY_SIZE (regname))
return regname[reg];
else
return "???";