diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-09-15 02:36:38 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-09-15 02:36:38 +0000 |
commit | 34913f248c5297dd8976c095763b7e44ed645d92 (patch) | |
tree | 13e58ff836a3efcdf42dca83a2761ac216887f94 | |
parent | f23d790a799c291ed3e732fd99c4c2fcfb4d8294 (diff) | |
download | edk2-platforms-34913f248c5297dd8976c095763b7e44ed645d92.tar.xz |
typecast some return values
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1542 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c | 4 |
1 files 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);
}
|