From: lzeng14 Date: Mon, 22 Aug 2011 05:38:36 +0000 (+0000) Subject: Fix GCC build error. X-Git-Tag: edk2-stable201903~14363 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=50e610270c39fe1eb5b1b3930c6b7556f72fa91a 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 --- diff --git a/PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.c b/PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.c index 3e7e0254a6..4891f96cfc 100644 --- a/PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.c +++ b/PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.c @@ -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 (