diff options
-rw-r--r-- | MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c b/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c index 09b6141..87c33a7 100644 --- a/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c +++ b/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c @@ -210,7 +210,7 @@ GetPerformanceCounter ( VOID
)
{
- return (UINT32)InternalX86GetTimerTick (InternalX86GetApicBase ());
+ return (UINT64)(UINT32)InternalX86GetTimerTick (InternalX86GetApicBase ());
}
/**
@@ -255,5 +255,5 @@ GetPerformanceCounterProperties ( *EndValue = 0;
}
- return InternalX86GetTimerFrequency (ApicBase);
+ return (UINT64)InternalX86GetTimerFrequency (ApicBase);
}
|