diff options
Diffstat (limited to 'InOsEmuPkg/CpuRuntimeDxe/Cpu.c')
-rw-r--r-- | InOsEmuPkg/CpuRuntimeDxe/Cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/InOsEmuPkg/CpuRuntimeDxe/Cpu.c b/InOsEmuPkg/CpuRuntimeDxe/Cpu.c index bcb8b51046..472b1c3b73 100644 --- a/InOsEmuPkg/CpuRuntimeDxe/Cpu.c +++ b/InOsEmuPkg/CpuRuntimeDxe/Cpu.c @@ -323,7 +323,7 @@ InitializeCpu ( //
// Convert frequency in Hz to a clock period in femtoseconds.
//
- mTimerPeriod = DivU64x64Remainder (1000000000000000, Frequency, NULL);
+ mTimerPeriod = DivU64x64Remainder (1000000000000000ULL, Frequency, NULL);
CpuUpdateSmbios ();
|