diff options
author | Bob Moore <robert.moore@intel.com> | 2021-12-22 17:35:49 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-12-27 17:01:28 +0100 |
commit | b70d6f07ed31f74b5d702a2bda1d592cc6622a02 (patch) | |
tree | 84e0a127375e7846b51ad792dcda98f82f49d453 /drivers/acpi/acpica | |
parent | 9f52815422a4b81dc9093fae338a9c41a9ff6657 (diff) | |
download | linux-stable-b70d6f07ed31f74b5d702a2bda1d592cc6622a02.tar.gz linux-stable-b70d6f07ed31f74b5d702a2bda1d592cc6622a02.tar.bz2 linux-stable-b70d6f07ed31f74b5d702a2bda1d592cc6622a02.zip |
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>
Diffstat (limited to 'drivers/acpi/acpica')
-rw-r--r-- | drivers/acpi/acpica/evregion.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/evregion.c b/drivers/acpi/acpica/evregion.c index 80b68f216b46..b9d77d327d38 100644 --- a/drivers/acpi/acpica/evregion.c +++ b/drivers/acpi/acpica/evregion.c @@ -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; } /* |