From 4adc12bfc30e59c4592c0351e0d9d1a07ed0e357 Mon Sep 17 00:00:00 2001 From: sfu5 Date: Wed, 28 Mar 2012 09:06:35 +0000 Subject: [PATCH] 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 --- .../SecureBootConfigDxe/SecureBootConfigImpl.c | 4 ++-- 1 file 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 ); -- 2.39.2