mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
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:
parent
f23d790a79
commit
34913f248c
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user