diff options
Diffstat (limited to 'Nt32Pkg/CpuRuntimeDxe')
-rw-r--r-- | Nt32Pkg/CpuRuntimeDxe/Cpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
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.
|