mirror of https://github.com/acidanthera/audk.git
Fix GCC build error.
Signed-off-by: lzeng14 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12180 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
1c6f402c24
commit
50e610270c
|
@ -118,7 +118,7 @@ DxeTscTimerLibConstructor (
|
|||
}
|
||||
EndTSC = AsmReadTsc(); // TSC value 1ms later
|
||||
|
||||
Status = gBS->AllocatePool (EfiBootServicesData, sizeof (UINT64), &TscFrequency);
|
||||
Status = gBS->AllocatePool (EfiBootServicesData, sizeof (UINT64), (VOID **) &TscFrequency);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
|
||||
*TscFrequency = MultU64x32 (
|
||||
|
|
Loading…
Reference in New Issue