X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Nt32Pkg%2FCpuRuntimeDxe%2FCpu.c;fp=Nt32Pkg%2FCpuRuntimeDxe%2FCpu.c;h=4ac12a4e1eab07fcd6ce7ed995e8d634b4f4377a;hp=bcce412a337d82dc2a5b7775be7b9878669f84dd;hb=1b65880229e0639d17f0491bbf93419a546b3bcd;hpb=21ce7a41791e461f5d92f6ce3c712b8dd1f33a54 diff --git a/Nt32Pkg/CpuRuntimeDxe/Cpu.c b/Nt32Pkg/CpuRuntimeDxe/Cpu.c index bcce412a33..4ac12a4e1e 100644 --- a/Nt32Pkg/CpuRuntimeDxe/Cpu.c +++ b/Nt32Pkg/CpuRuntimeDxe/Cpu.c @@ -327,7 +327,7 @@ Returns: return EFI_INVALID_PARAMETER; } - gWinNt->QueryPerformanceCounter (TimerValue); + gWinNt->QueryPerformanceCounter ((LARGE_INTEGER *)TimerValue); if (TimerPeriod != NULL) { *TimerPeriod = mTimerPeriod; @@ -532,7 +532,7 @@ Returns: // // Retrieve the frequency of the performance counter in Hz. // - gWinNt->QueryPerformanceFrequency (&Frequency); + gWinNt->QueryPerformanceFrequency ((LARGE_INTEGER *)&Frequency); // // Convert frequency in Hz to a clock period in femtoseconds.