summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c')
-rw-r--r--MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c b/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c
index a656a80c4c..dd240d88d0 100644
--- a/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c
+++ b/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c
@@ -210,7 +210,7 @@ GetPerformanceCounter (
VOID
)
{
- return InternalX86GetTimerTick (InternalX86GetApicBase ());
+ return (UINT32)InternalX86GetTimerTick (InternalX86GetApicBase ());
}
/**