summaryrefslogtreecommitdiff
path: root/Platform
diff options
context:
space:
mode:
authorMarvin Häuser <Marvin.Haeuser@outlook.com>2018-02-27 23:06:52 +0100
committerJiewen Yao <jiewen.yao@intel.com>2018-02-28 09:14:36 +0800
commit73a3fefe828f4f42b0209127e113ea1f0d053c5d (patch)
treecedeb62fe87ce6224807dabf8d41c2eb356291d5 /Platform
parentfafe3208bd7a837228460fcf01eed7281b17910d (diff)
downloadedk2-platforms-73a3fefe828f4f42b0209127e113ea1f0d053c5d.tar.xz
MinPlatformPkg/PeiLib: Add a missing cast to VOID **.
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')
-rw-r--r--Platform/Intel/MinPlatformPkg/Library/PeiLib/PeiLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Platform/Intel/MinPlatformPkg/Library/PeiLib/PeiLib.c b/Platform/Intel/MinPlatformPkg/Library/PeiLib/PeiLib.c
index 96bf91c408..22b19df832 100644
--- a/Platform/Intel/MinPlatformPkg/Library/PeiLib/PeiLib.c
+++ b/Platform/Intel/MinPlatformPkg/Library/PeiLib/PeiLib.c
@@ -59,7 +59,7 @@ PeiGetVariable (
&gEfiPeiReadOnlyVariable2PpiGuid,
0,
NULL,
- &VariableServices
+ (VOID **)&VariableServices
);
ASSERT_EFI_ERROR (Status);
if (EFI_ERROR(Status)) {