typecast some return values

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1542 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff 2006-09-15 02:36:38 +00:00
parent f23d790a79
commit 34913f248c

View File

@ -210,7 +210,7 @@ GetPerformanceCounter (
VOID VOID
) )
{ {
return (UINT32)InternalX86GetTimerTick (InternalX86GetApicBase ()); return (UINT64)(UINT32)InternalX86GetTimerTick (InternalX86GetApicBase ());
} }
/** /**
@ -255,5 +255,5 @@ GetPerformanceCounterProperties (
*EndValue = 0; *EndValue = 0;
} }
return InternalX86GetTimerFrequency (ApicBase); return (UINT64)InternalX86GetTimerFrequency (ApicBase);
} }