Comparison of narrow type with wide type in loop condition

This commit is contained in:
Alex 2022-10-28 09:02:11 +03:00
parent 2d78ac73e4
commit 3f0d496eb6
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -70,7 +70,7 @@ namespace SMP
CPUCores = Cores;
for (uint16_t i = 0; i < Cores; i++)
for (int i = 0; i < Cores; i++)
{
debug("Initializing CPU %d", i);
if ((((APIC::APIC *)Interrupts::apic[0])->Read(APIC::APIC_ID) >> 24) != ((ACPI::MADT *)madt)->lapic[i]->ACPIProcessorId)