Following commit 7fe3fbad05cd6ef23e83ab5da8c5a82ff9bb456e, building
OvmfPkg on Linux breaks with an "incompatible pointer type" error.
This patch adds a cast to supress the warning and allow the build
to complete

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gabriel Somlo <[email protected]>
---

On Oct 3, 2014 at 12:46 PM, Jordan Justen <[email protected]> wrote:
> See ShellPkg/Contributions.txt for details on how to submit a patch
> for ShellPkg.
> 
> (You are missing a commit message, Contributed-under and Signed-off-by)

Last time I went the full formal route for this kind of a one-liner, the
breakage just got silently fixed as part of a bigger patch, and things
just started working again a few days later. So I thought just making
noise would be enough this time around as well :)

Thanks much,
  Gabriel


 ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c 
b/ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c
index 4dbc6d5..e3af4c8 100644
--- a/ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c
+++ b/ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c
@@ -507,7 +507,7 @@ ValidateAndMoveFiles(
     SHELL_FREE_NON_NULL(FullDestPath);
     FullDestPath = NULL;
     if (ShellIsDirectory(DestPath)==EFI_SUCCESS) {
-      CreateFullDestPath(&DestPath, &FullDestPath, Node->FileName);
+      CreateFullDestPath((CONST CHAR16 **)&DestPath, &FullDestPath, 
Node->FileName);
     }
 
     //
-- 
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