summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2006-09-15 02:36:38 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2006-09-15 02:36:38 +0000
commit34913f248c5297dd8976c095763b7e44ed645d92 (patch)
tree13e58ff836a3efcdf42dca83a2761ac216887f94 /MdePkg
parentf23d790a799c291ed3e732fd99c4c2fcfb4d8294 (diff)
downloadedk2-34913f248c5297dd8976c095763b7e44ed645d92.zip
edk2-34913f248c5297dd8976c095763b7e44ed645d92.tar.gz
edk2-34913f248c5297dd8976c095763b7e44ed645d92.tar.bz2
typecast some return values
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1542 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c b/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c
index 09b6141..87c33a7 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);
}