fix type conversion for VS2017 compatibility

Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
This commit is contained in:
Sergey Isakov 2019-09-16 16:22:52 +03:00
parent e823a1ca44
commit ae995a5c76

View File

@ -1055,10 +1055,10 @@ VOID findCPU(UINT8* dsdt, UINT32 length)
DBG(", within the score: %a\n", acpi_cpu_score);
if (!acpi_cpu_count) {
for (i=0; i<15; i++) {
for (i=0; i < acpi_cpu_max; i++) {
acpi_cpu_name[i] = AllocateZeroPool(5);
AsciiSPrint(acpi_cpu_name[i], 5, "CPU%1x", i);
acpi_cpu_processor_id[i] = i;
acpi_cpu_processor_id[i] = (UINT8)(i & 0x7F);
}
}
return;