mirror of
https://github.com/acpica/acpica/
synced 2025-03-02 20:31:28 +03:00
New data types/names; removed OUTRANGE macro.
date 99.07.12.23.26.00; author rmoore1; state Exp;
This commit is contained in:
parent
00d60f1588
commit
a096f2fc91
@ -156,8 +156,8 @@ NsPushCurrentScope (
|
||||
|
||||
else
|
||||
{
|
||||
if (OUTRANGE (Type, NsTypeNames) ||
|
||||
BadType == NsTypeNames[Type])
|
||||
if ((Type > INTERNAL_TYPE_MAX) ||
|
||||
(BadType == NsTypeNames[Type]))
|
||||
{
|
||||
/* type code out of range */
|
||||
|
||||
@ -257,7 +257,8 @@ NsPopCurrent (
|
||||
FUNCTION_TRACE ("NsPopCurrent");
|
||||
|
||||
|
||||
if (OUTRANGE (Type, NsTypeNames) || BadType == NsTypeNames[Type])
|
||||
if ((Type > INTERNAL_TYPE_MAX) ||
|
||||
(BadType == NsTypeNames[Type]))
|
||||
{
|
||||
/* type code out of range */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user