]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix GCC build error.
authorlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 22 Aug 2011 05:38:36 +0000 (05:38 +0000)
committerlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 22 Aug 2011 05:38:36 +0000 (05:38 +0000)
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

index 3e7e0254a609ce8ded78f040cf605137727f6611..4891f96cfc3d8c52b985289075c2f1168a46685b 100644 (file)
@@ -118,7 +118,7 @@ DxeTscTimerLibConstructor (
   }\r
   EndTSC = AsmReadTsc();    // TSC value 1ms later\r
 \r
-  Status = gBS->AllocatePool (EfiBootServicesData, sizeof (UINT64), &TscFrequency);\r
+  Status = gBS->AllocatePool (EfiBootServicesData, sizeof (UINT64), (VOID **) &TscFrequency);\r
   ASSERT_EFI_ERROR (Status);\r
 \r
   *TscFrequency = MultU64x32 (\r