summaryrefslogtreecommitdiff
path: root/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe
diff options
context:
space:
mode:
authorsfu5 <sfu5@6f19259b-4bc3-4df7-8a09-765794883524>2012-03-28 09:06:35 +0000
committersfu5 <sfu5@6f19259b-4bc3-4df7-8a09-765794883524>2012-03-28 09:06:35 +0000
commit4adc12bfc30e59c4592c0351e0d9d1a07ed0e357 (patch)
tree935842d6ba95df1d4953a92e57fd6e69e87d398d /SecurityPkg/VariableAuthenticated/SecureBootConfigDxe
parenta50f7c4c0985f1659d4b24e94f6d3aee9f6922dd (diff)
downloadedk2-platforms-4adc12bfc30e59c4592c0351e0d9d1a07ed0e357.tar.xz
1. Fix GCC build failure in SecurityPkg.
Signed-off-by: sfu5 Reviewed-by: gdong1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13146 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg/VariableAuthenticated/SecureBootConfigDxe')
-rw-r--r--SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c
index 63dffd76bc..c80c5eafac 100644
--- a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c
+++ b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c
@@ -278,7 +278,7 @@ CreatePkX509SignatureList (
PkCertData = NULL;
X509DataSize = 0;
- Status = ReadFileContent (X509File, &X509Data, &X509DataSize, 0);
+ Status = ReadFileContent (X509File, (VOID**) &X509Data, &X509DataSize, 0);
if (EFI_ERROR (Status)) {
goto ON_EXIT;
}
@@ -483,7 +483,7 @@ EnrollRsa2048ToKek (
//
Status = ReadFileContent (
Private->FileContext->FHandle,
- &KeyBlob,
+ (VOID**) &KeyBlob,
&KeyBlobSize,
0
);