From 34913f248c5297dd8976c095763b7e44ed645d92 Mon Sep 17 00:00:00 2001 From: vanjeff Date: Fri, 15 Sep 2006 02:36:38 +0000 Subject: [PATCH 1/1] typecast some return values git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1542 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c b/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c index 09b614119d..87c33a7c5d 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); } -- 2.39.2