diff --git a/reactos/ntoskrnl/ke/i386/kernel.c b/reactos/ntoskrnl/ke/i386/kernel.c index 136756fafe8..61f73b34f3d 100644 --- a/reactos/ntoskrnl/ke/i386/kernel.c +++ b/reactos/ntoskrnl/ke/i386/kernel.c @@ -179,8 +179,8 @@ KeInit1(VOID) memset(KPCR, 0, PAGE_SIZE); KPCR->Self = (PKPCR)KPCR_BASE; KPCR->Irql = HIGH_LEVEL; - KPCR->GDT = (PUSHORT)&KiBootGdt; - KPCR->IDT = (PUSHORT)&KiIdt; + KPCR->GDT = KiBootGdt; + KPCR->IDT = (PUSHORT)KiIdt; KPCR->TSS = &KiBootTss; KPCR->ProcessorNumber = 0; KiPcrInitDone = 1;