summaryrefslogtreecommitdiff
path: root/MdePkg/Library
diff options
context:
space:
mode:
authorbxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524>2006-08-18 08:33:00 +0000
committerbxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524>2006-08-18 08:33:00 +0000
commit6e028650e75c51764be37e461a54df7f11d7992e (patch)
tree86349b8104d908eb857f13a9cf045da24898dae3 /MdePkg/Library
parentcaa44816ddcbc71cb820260f4df8065806cdf285 (diff)
downloadedk2-platforms-6e028650e75c51764be37e461a54df7f11d7992e.tar.xz
Fixed a bug causing the high order double word of values returned by GetPerformanceCounter() became -1.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1322 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library')
-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 ());
}
/**