Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Bob Moore and committed by
Rafael J. Wysocki
b70d6f07 9f528154

+2 -2
+2 -2
drivers/acpi/acpica/evregion.c
··· 168 168 169 169 ctx->internal_buffer = 170 170 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; 173 173 } 174 174 175 175 /*