]> git.proxmox.com Git - mirror_edk2.git/commitdiff
typecast some return values
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 15 Sep 2006 02:36:38 +0000 (02:36 +0000)
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 15 Sep 2006 02:36:38 +0000 (02:36 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1542 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c

index 09b614119da174b1d272aa25bfc414935249eb13..87c33a7c5ddc030f5a91c9196e7615aa206761d6 100644 (file)
@@ -210,7 +210,7 @@ GetPerformanceCounter (
   VOID\r
   )\r
 {\r
-  return (UINT32)InternalX86GetTimerTick (InternalX86GetApicBase ());\r
+  return (UINT64)(UINT32)InternalX86GetTimerTick (InternalX86GetApicBase ());\r
 }\r
 \r
 /**\r
@@ -255,5 +255,5 @@ GetPerformanceCounterProperties (
     *EndValue = 0;\r
   }\r
 \r
-  return InternalX86GetTimerFrequency (ApicBase);\r
+  return (UINT64)InternalX86GetTimerFrequency (ApicBase);\r
 }\r