From 50e610270c39fe1eb5b1b3930c6b7556f72fa91a Mon Sep 17 00:00:00 2001 From: lzeng14 Date: Mon, 22 Aug 2011 05:38:36 +0000 Subject: 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 --- PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'PerformancePkg') diff --git a/PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.c b/PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.c index 3e7e025..4891f96 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 ( -- cgit v1.1