diff --git a/reactos/ntoskrnl/ke/thrdschd.c b/reactos/ntoskrnl/ke/thrdschd.c index 57f43c1dc7a..abe796698dc 100644 --- a/reactos/ntoskrnl/ke/thrdschd.c +++ b/reactos/ntoskrnl/ke/thrdschd.c @@ -425,7 +425,7 @@ KiSelectNextThread(IN PKPRCB Prcb) Thread = Prcb->IdleThread; /* Enable idle scheduling */ - InterlockedOr(&KiIdleSummary, Prcb->SetMember); + InterlockedOr((PLONG) &KiIdleSummary, Prcb->SetMember); Prcb->IdleSchedule = TRUE; /* FIXME: SMT support */