mirror of https://github.com/acidanthera/audk.git
ShellPkg: fix "incompatible pointer type" build error
Following commit 7fe3fbad05
, 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 <somlo@cmu.edu>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16198 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
842949fa80
commit
e456bb84e0
|
@ -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);
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue