summaryrefslogtreecommitdiff
path: root/SecurityPkg
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
parenta50f7c4c0985f1659d4b24e94f6d3aee9f6922dd (diff)
downloadedk2-4adc12bfc30e59c4592c0351e0d9d1a07ed0e357.zip
edk2-4adc12bfc30e59c4592c0351e0d9d1a07ed0e357.tar.gz
edk2-4adc12bfc30e59c4592c0351e0d9d1a07ed0e357.tar.bz2
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')
-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 63dffd7..c80c5ea 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
);