summaryrefslogtreecommitdiff
path: root/Platform/BroxtonPlatformPkg/Common/SampleCode/MdeModulePkg/Universal/MemoryTest
diff options
context:
space:
mode:
authorzwei4 <david.wei@intel.com>2017-05-11 14:14:48 +0800
committerzwei4 <david.wei@intel.com>2017-05-11 14:14:48 +0800
commit9085457c819add4d580882a047f49c22859833ac (patch)
treef9791adebee1a60954dd8513d95a6897ebe7ec94 /Platform/BroxtonPlatformPkg/Common/SampleCode/MdeModulePkg/Universal/MemoryTest
parentb48d585a213b1dbb925ac108fe7235cd087bc5c0 (diff)
downloadedk2-platforms-9085457c819add4d580882a047f49c22859833ac.tar.xz
Fix some GCC build errors.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: zwei4 <david.wei@intel.com>
Diffstat (limited to 'Platform/BroxtonPlatformPkg/Common/SampleCode/MdeModulePkg/Universal/MemoryTest')
-rw-r--r--Platform/BroxtonPlatformPkg/Common/SampleCode/MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Platform/BroxtonPlatformPkg/Common/SampleCode/MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTest.c b/Platform/BroxtonPlatformPkg/Common/SampleCode/MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTest.c
index b506f1347e..00fe52cabb 100644
--- a/Platform/BroxtonPlatformPkg/Common/SampleCode/MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTest.c
+++ b/Platform/BroxtonPlatformPkg/Common/SampleCode/MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTest.c
@@ -70,7 +70,7 @@ GetMemoryMap (
Status = gBS->AllocatePool (
EfiBootServicesData,
*EfiMemoryMapSize,
- EfiMemoryMap
+ (VOID **)EfiMemoryMap
);
if (EFI_ERROR(Status)) {
DEBUG ((EFI_D_ERROR, "Can not Allocate Memory\n"));