X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fhal%2Fhalx86%2Fgeneric%2Ftimer.c;h=e7ef223f506741725eb959437bc9213a7698769d;hp=f9876f600708d149c63d62df85d34a8193bc10dc;hb=bb296ffa81b611186b12d6ea063afea879c60ff5;hpb=3287d9f0c13c59f5da5a872e36a1106112e47962 diff --git a/reactos/hal/halx86/generic/timer.c b/reactos/hal/halx86/generic/timer.c index f9876f60070..e7ef223f506 100644 --- a/reactos/hal/halx86/generic/timer.c +++ b/reactos/hal/halx86/generic/timer.c @@ -48,7 +48,7 @@ HalpInitializeClock(VOID) PKPRCB Prcb = KeGetCurrentPrcb(); ULONG Increment; USHORT RollOver; - ULONG Flags; + ULONG_PTR Flags; /* Check the CPU Type */ if (Prcb->CpuType <= 4) @@ -92,7 +92,7 @@ NTAPI HalCalibratePerformanceCounter(IN volatile PLONG Count, IN ULONGLONG NewCount) { - ULONG Flags; + ULONG_PTR Flags; /* Disable interrupts */ Flags = __readeflags();