mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-29 15:57:59 +00:00
Comparison of narrow type with wide type in loop condition
This commit is contained in:
parent
2d78ac73e4
commit
3f0d496eb6
@ -70,7 +70,7 @@ namespace SMP
|
|||||||
|
|
||||||
CPUCores = Cores;
|
CPUCores = Cores;
|
||||||
|
|
||||||
for (uint16_t i = 0; i < Cores; i++)
|
for (int i = 0; i < Cores; i++)
|
||||||
{
|
{
|
||||||
debug("Initializing CPU %d", i);
|
debug("Initializing CPU %d", i);
|
||||||
if ((((APIC::APIC *)Interrupts::apic[0])->Read(APIC::APIC_ID) >> 24) != ((ACPI::MADT *)madt)->lapic[i]->ACPIProcessorId)
|
if ((((APIC::APIC *)Interrupts::apic[0])->Read(APIC::APIC_ID) >> 24) != ((ACPI::MADT *)madt)->lapic[i]->ACPIProcessorId)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user