mirror of
https://github.com/acpica/acpica/
synced 2025-01-22 09:22:16 +03:00
Fix warning for 64-bit build.
Fixes warning from exconfig.c on 64-bit build.
This commit is contained in:
parent
913669b792
commit
a55e093601
@ -180,7 +180,7 @@ AcpiExAddTable (
|
||||
|
||||
/* Install the new table into the local data structures */
|
||||
|
||||
ObjDesc->Reference.Object = ACPI_CAST_PTR (void, TableIndex);
|
||||
ObjDesc->Reference.Object = ACPI_TO_POINTER (TableIndex);
|
||||
|
||||
/* Add the table to the namespace */
|
||||
|
||||
@ -511,6 +511,7 @@ AcpiExLoadOp (
|
||||
}
|
||||
|
||||
ACPI_MEMCPY (TableDesc.Pointer, Table, Length);
|
||||
TableDesc.Address = ACPI_TO_INTEGER (TableDesc.Pointer);
|
||||
break;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user