Revision: 16198
          http://sourceforge.net/p/edk2/code/16198
Author:   jljusten
Date:     2014-10-08 20:38:05 +0000 (Wed, 08 Oct 2014)
Log Message:
-----------
ShellPkg: fix "incompatible pointer type" build error

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]>
Reviewed-by: Jordan Justen <[email protected]>

Modified Paths:
--------------
    trunk/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c

Modified: trunk/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c
===================================================================
--- trunk/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c 2014-10-07 
19:58:43 UTC (rev 16197)
+++ trunk/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c 2014-10-08 
20:38:05 UTC (rev 16198)
@@ -507,7 +507,7 @@
     SHELL_FREE_NON_NULL(FullDestPath);
     FullDestPath = NULL;
     if (ShellIsDirectory(DestPath)==EFI_SUCCESS) {
-      CreateFullDestPath(&DestPath, &FullDestPath, Node->FileName);
+      CreateFullDestPath((CONST CHAR16 **)&DestPath, &FullDestPath, 
Node->FileName);
     }
 
     //


------------------------------------------------------------------------------
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-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to