]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Set the type of variable 'StatusCode' as SHELL_STATUS to match the parameter type...
authorShumin Qiu <shumin.qiu@intel.com>
Tue, 31 Dec 2013 04:01:17 +0000 (04:01 +0000)
committershenshushi <shenshushi@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 31 Dec 2013 04:01:17 +0000 (04:01 +0000)
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Gao, Liming <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15031 6f19259b-4bc3-4df7-8a09-765794883524

ShellPkg/Application/Shell/Shell.c

index 0f5e069180c915d9a99a127c5fd465b9fc41ce79..ea142023d2a4ff8d4ba784f6b0bb1df8f0b2247d 100644 (file)
@@ -2067,7 +2067,7 @@ RunCommandOrFile(
           //\r
           // Update last error status.\r
           //\r
           //\r
           // Update last error status.\r
           //\r
-          SetLastError(StatusCode);\r
+          SetLastError((SHELL_STATUS) StatusCode);\r
           break;\r
         default:\r
           //\r
           break;\r
         default:\r
           //\r