ACPICA: Fixed a couple of warnings under MSVC

ACPICA commit 86c919d2bad08491fc91ffa53e9b169092de8622

Repaired with casts.

Link: https://github.com/acpica/acpica/commit/86c919d2
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Bob Moore 2021-12-22 17:35:49 +01:00 committed by Rafael J. Wysocki
parent 9f52815422
commit b70d6f07ed
1 changed files with 2 additions and 2 deletions

View File

@ -168,8 +168,8 @@ acpi_ev_address_space_dispatch(union acpi_operand_object *region_obj,
ctx->internal_buffer =
field_obj->field.internal_pcc_buffer;
ctx->length = region_obj->region.length;
ctx->subspace_id = region_obj->region.address;
ctx->length = (u16)region_obj->region.length;
ctx->subspace_id = (u8)region_obj->region.address;
}
/*