]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c
1. Fix GCC build failure in SecurityPkg.
[mirror_edk2.git] / SecurityPkg / VariableAuthenticated / SecureBootConfigDxe / SecureBootConfigImpl.c
index 63dffd76bcd1237307b8117d0b890bea9fd7e7d5..c80c5eaface3db49074488dd48bf5e4aad7fcf8d 100644 (file)
@@ -278,7 +278,7 @@ CreatePkX509SignatureList (
   PkCertData = NULL;\r
   X509DataSize = 0;  \r
   \r
-  Status = ReadFileContent (X509File, &X509Data, &X509DataSize, 0);\r
+  Status = ReadFileContent (X509File, (VOID**) &X509Data, &X509DataSize, 0);\r
   if (EFI_ERROR (Status)) {\r
     goto ON_EXIT;\r
   }\r
@@ -483,7 +483,7 @@ EnrollRsa2048ToKek (
   //                \r
   Status = ReadFileContent (\r
              Private->FileContext->FHandle,\r
-             &KeyBlob,\r
+             (VOID**) &KeyBlob,\r
              &KeyBlobSize,\r
              0\r
              );\r