mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-23 11:35:19 +01:00
fix type conversion for VS2017 compatibility
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
This commit is contained in:
parent
e823a1ca44
commit
ae995a5c76
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user