summaryrefslogtreecommitdiff
path: root/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckMemoryAttribute.c
diff options
context:
space:
mode:
authorMarvin Häuser <Marvin.Haeuser@outlook.com>2018-02-27 23:20:46 +0100
committerJiewen Yao <jiewen.yao@intel.com>2018-02-28 09:14:15 +0800
commitb711aea87f7a31efbbd11440186c35c335e59afe (patch)
tree07c091da6b148b6cdfdef27e1d1c5da5943b801c /Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckMemoryAttribute.c
parent9acb51169fbd25d24ff57517e35f6bef1679d2a6 (diff)
downloadedk2-platforms-b711aea87f7a31efbbd11440186c35c335e59afe.tar.xz
MinPlatformPkg/TestPointCheckLib: Add missing typecasts.
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckMemoryAttribute.c')
-rw-r--r--Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckMemoryAttribute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckMemoryAttribute.c b/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckMemoryAttribute.c
index d945d6e9f1..f92a8d7f75 100644
--- a/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckMemoryAttribute.c
+++ b/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckMemoryAttribute.c
@@ -293,7 +293,7 @@ TestPointCheckUefiMemoryAttributesTable (
Status = gBS->LocateProtocol (
&gEfiRuntimeArchProtocolGuid,
NULL,
- &RuntimeArch
+ (VOID **)&RuntimeArch
);
if (EFI_ERROR (Status)) {
return EFI_SUCCESS;
@@ -325,7 +325,7 @@ TestPointCheckUefiMemAttribute (
VOID *MemoryAttributesTable;
DEBUG ((DEBUG_INFO, "==== TestPointCheckUefiMemAttribute - Enter\n"));
- Status = EfiGetSystemConfigurationTable (&gEfiMemoryAttributesTableGuid, &MemoryAttributesTable);
+ Status = EfiGetSystemConfigurationTable (&gEfiMemoryAttributesTableGuid, (VOID **)&MemoryAttributesTable);
if (!EFI_ERROR (Status)) {
TestPointDumpMemoryAttributesTable(MemoryAttributesTable);
Status = TestPointCheckUefiMemoryAttributesTable(MemoryAttributesTable);