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 09b6141..87c33a7 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