Skip to content

Commit

Permalink
ACPICA: Fixed a couple of warnings under MSVC
Browse files Browse the repository at this point in the history
ACPICA commit 86c919d2bad08491fc91ffa53e9b169092de8622

Repaired with casts.

Link: acpica/acpica@86c919d2
Signed-off-by: Bob Moore <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
  • Loading branch information
acpibob authored and rafaeljw committed Dec 27, 2021
1 parent 9f52815 commit b70d6f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/acpi/acpica/evregion.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/*
Expand Down

0 comments on commit b70d6f0

Please sign in to comment.