Skip to content

Commit b70d6f0

Browse files
acpibobrafaeljw
authored andcommitted
ACPICA: Fixed a couple of warnings under MSVC
ACPICA commit 86c919d2bad08491fc91ffa53e9b169092de8622 Repaired with casts. Link: acpica/acpica@86c919d2 Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 9f52815 commit b70d6f0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/acpi/acpica/evregion.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ acpi_ev_address_space_dispatch(union acpi_operand_object *region_obj,
168168

169169
ctx->internal_buffer =
170170
field_obj->field.internal_pcc_buffer;
171-
ctx->length = region_obj->region.length;
172-
ctx->subspace_id = region_obj->region.address;
171+
ctx->length = (u16)region_obj->region.length;
172+
ctx->subspace_id = (u8)region_obj->region.address;
173173
}
174174

175175
/*

0 commit comments

Comments
 (0)