Skip to content

Commit 4c84e19

Browse files
[NTOS:KE/i386] KeStartAllProcessors(): ProcessorCount is a ULONG (reactos#7455)
Let's be explicit. Addendum to 516ccad (0.4.15-dev-7016).
1 parent 5d361b6 commit 4c84e19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ntoskrnl/ke/i386/mproc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ NTAPI
3838
KeStartAllProcessors(VOID)
3939
{
4040
PVOID KernelStack, DPCStack;
41-
SIZE_T ProcessorCount = 0;
41+
ULONG ProcessorCount = 0;
4242
PAPINFO APInfo;
4343

4444
while (TRUE)
@@ -127,7 +127,7 @@ KeStartAllProcessors(VOID)
127127
KeLoaderBlock->Thread = (ULONG_PTR)&APInfo->Pcr.Prcb->IdleThread;
128128

129129
// Start the CPU
130-
DPRINT("Attempting to Start a CPU with number: %u\n", ProcessorCount);
130+
DPRINT("Attempting to Start a CPU with number: %lu\n", ProcessorCount);
131131
if (!HalStartNextProcessor(KeLoaderBlock, ProcessorState))
132132
{
133133
break;
@@ -152,5 +152,5 @@ KeStartAllProcessors(VOID)
152152
if (DPCStack)
153153
MmDeleteKernelStack(DPCStack, FALSE);
154154

155-
DPRINT1("KeStartAllProcessors: Successful AP startup count is %u\n", ProcessorCount);
155+
DPRINT1("KeStartAllProcessors: Successful AP startup count is %lu\n", ProcessorCount);
156156
}

0 commit comments

Comments
 (0)