update for HEAD-2003050101
[reactos.git] / ntoskrnl / ke / i386 / kernel.c
index 2d049ee..2ca1f3f 100644 (file)
@@ -60,7 +60,7 @@ KeApplicationProcessorInit(VOID)
   /*
    * Create a PCR for this processor
    */
-  Offset = InterlockedIncrement(&PcrsAllocated) - 1;
+  Offset = InterlockedIncrement((LONG *)&PcrsAllocated) - 1;
   KPCR = (PKPCR)(KPCR_BASE + (Offset * PAGE_SIZE));
   MmCreateVirtualMappingForKernel((PVOID)KPCR,
                                  PAGE_READWRITE,