mirror of
https://github.com/acpica/acpica/
synced 2025-02-25 18:04:08 +03:00
Disassembler: casting object type to UINT8 for compiler compatibilty
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
This commit is contained in:
parent
189211f907
commit
49c5e006da
@ -660,19 +660,19 @@ AcpiDsLoad1EndOp (
|
||||
* Op->Common.Value.Arg->Common.Next->Common.Value.Integer == 0
|
||||
* Therefore, ParamCount will be 0.
|
||||
*/
|
||||
ParamCount = Op->Common.Value.Arg->Common.Next->Common.Value.Integer;
|
||||
ObjectType = Op->Common.Value.Arg->Common.Value.Integer;
|
||||
ParamCount = (UINT8) Op->Common.Value.Arg->Common.Next->Common.Value.Integer;
|
||||
ObjectType = (UINT8) Op->Common.Value.Arg->Common.Value.Integer;
|
||||
Op->Common.Node->Flags |= ANOBJ_IS_EXTERNAL;
|
||||
Op->Common.Node->Type = (UINT8) ObjectType;
|
||||
|
||||
AcpiDmCreateSubobjectForExternal (ObjectType,
|
||||
AcpiDmCreateSubobjectForExternal ((UINT8)ObjectType,
|
||||
&Op->Common.Node, ParamCount);
|
||||
|
||||
/*
|
||||
* Add the external to the external list because we may be
|
||||
* emitting code based off of the items within the external list.
|
||||
*/
|
||||
AcpiDmAddOpToExternalList (Op, Op->Named.Path, ObjectType, ParamCount,
|
||||
AcpiDmAddOpToExternalList (Op, Op->Named.Path, (UINT8)ObjectType, ParamCount,
|
||||
ACPI_EXT_ORIGIN_FROM_OPCODE | ACPI_EXT_RESOLVED_REFERENCE);
|
||||
}
|
||||
#endif
|
||||
|
@ -728,7 +728,7 @@ AcpiNsLookup (
|
||||
(WalkState && WalkState->Opcode == AML_EXTERNAL_OP)))
|
||||
{
|
||||
ThisNode->Flags &= ~ANOBJ_IS_EXTERNAL;
|
||||
ThisNode->Type = ThisSearchType;
|
||||
ThisNode->Type = (UINT8)ThisSearchType;
|
||||
if (WalkState->Opcode != AML_EXTERNAL_OP)
|
||||
{
|
||||
AcpiDmMarkExternalConflict (ThisNode);
|
||||
|
Loading…
x
Reference in New Issue
Block a user