diff options
author | Gabriel Somlo <somlo@cmu.edu> | 2014-10-08 20:38:05 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-10-08 20:38:05 +0000 |
commit | e456bb84e0ae952d8416a7378b768b116974d26d (patch) | |
tree | 69701a11950e81c058cb72378abd0abd98b2206a | |
parent | 842949fa8099a9c627ffe9f62f36214898c33a12 (diff) | |
download | edk2-e456bb84e0ae952d8416a7378b768b116974d26d.tar.gz edk2-e456bb84e0ae952d8416a7378b768b116974d26d.tar.bz2 edk2-e456bb84e0ae952d8416a7378b768b116974d26d.zip |
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 <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
-rw-r--r-- | ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c b/ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c index 4dbc6d591e..e3af4c8cb1 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);
}
//
|