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 ()); } /**