]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Application/Shell/Shell.c
Set the type of variable 'StatusCode' as SHELL_STATUS to match the parameter type...
[mirror_edk2.git] / ShellPkg / Application / Shell / Shell.c
index 0f5e069180c915d9a99a127c5fd465b9fc41ce79..ea142023d2a4ff8d4ba784f6b0bb1df8f0b2247d 100644 (file)
@@ -2067,7 +2067,7 @@ RunCommandOrFile(
           //\r
           // Update last error status.\r
           //\r
-          SetLastError(StatusCode);\r
+          SetLastError((SHELL_STATUS) StatusCode);\r
           break;\r
         default:\r
           //\r