diff options
author | lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-08-22 05:38:36 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-08-22 05:38:36 +0000 |
commit | 50e610270c39fe1eb5b1b3930c6b7556f72fa91a (patch) | |
tree | e81884c864e61d82ea86d500e5e80722e978b086 /PerformancePkg | |
parent | 1c6f402c24db4524780ebf5be4d4aa62c718a360 (diff) | |
download | edk2-platforms-50e610270c39fe1eb5b1b3930c6b7556f72fa91a.tar.xz |
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
Diffstat (limited to 'PerformancePkg')
-rw-r--r-- | PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 (
|