]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg: Add a typecast to 'BOOLEAN' to avoid build failure in VS2005.
authorQiu Shumin <shumin.qiu@intel.com>
Thu, 9 Oct 2014 01:25:32 +0000 (01:25 +0000)
committershenshushi <shenshushi@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 9 Oct 2014 01:25:32 +0000 (01:25 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16199 6f19259b-4bc3-4df7-8a09-765794883524

ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c

index e3af4c8cb177e285b3644038a996393859379275..c3083b800a9310aeadb77a86823aa036fabe0668 100644 (file)
@@ -459,7 +459,7 @@ ValidateAndMoveFiles(
   //\r
   // Get and validate the destination location\r
   //\r
-  ShellStatus = GetDestinationLocation(CleanFilePathStr, &DestPath, Cwd, FileList->Link.ForwardLink == FileList->Link.BackLink, &Attr);\r
+  ShellStatus = GetDestinationLocation(CleanFilePathStr, &DestPath, Cwd, (BOOLEAN)(FileList->Link.ForwardLink == FileList->Link.BackLink), &Attr);\r
   FreePool (CleanFilePathStr);\r
 \r
   if (ShellStatus != SHELL_SUCCESS) {\r