Commit 77eef0d5a82bf2a49cc6bb25077ba73e922ea160 breaks the ability to
build OvmfPkg using "build -a X64 -t GCC48 -p OvmfPkg/OvmfPkgX64.dsc"
with a "passing argument 2 of ‘GetEfiGlobalVariable2’ from incompatible
pointer type" error. This patch provides a fix for that problem.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gabriel Somlo <[email protected]>
---
 ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c 
b/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c
index 33c2470..8a82508 100644
--- a/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c
+++ b/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c
@@ -770,7 +770,7 @@ BcfgAddOpt(
   CHAR16          *Data;
   UINT32          KeyIndex;
   CHAR16          VariableName[12];
-  UINT8           *VariableData;
+  VOID           *VariableData;
 
   SHELL_FILE_HANDLE FileHandle;
 
-- 
1.9.3


------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to