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); } //