fix gcc4 build
authorSylvain Petreolle <spetreolle@yahoo.fr>
Thu, 18 Jan 2007 11:13:43 +0000 (11:13 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Thu, 18 Jan 2007 11:13:43 +0000 (11:13 +0000)
svn path=/trunk/; revision=25505

reactos/ntoskrnl/ke/thrdschd.c

index 57f43c1..abe7966 100644 (file)
@@ -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 */