summaryrefslogtreecommitdiff
path: root/ShellPkg/Application
diff options
context:
space:
mode:
authorShumin Qiu <shumin.qiu@intel.com>2013-12-31 04:01:17 +0000
committershenshushi <shenshushi@6f19259b-4bc3-4df7-8a09-765794883524>2013-12-31 04:01:17 +0000
commit3e108dfd7dcd495732e86d2d1339364033512ecf (patch)
treeb13bae5c187956bb71777d808f9ccc4c524f7fd2 /ShellPkg/Application
parent6307a8b6dc054339db3b3d9733f2ce1a248b483c (diff)
downloadedk2-platforms-3e108dfd7dcd495732e86d2d1339364033512ecf.tar.xz
Set the type of variable 'StatusCode' as SHELL_STATUS to match the parameter type of function 'SetLastError'.
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
Diffstat (limited to 'ShellPkg/Application')
-rw-r--r--ShellPkg/Application/Shell/Shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ShellPkg/Application/Shell/Shell.c b/ShellPkg/Application/Shell/Shell.c
index 0f5e069180..ea142023d2 100644
--- a/ShellPkg/Application/Shell/Shell.c
+++ b/ShellPkg/Application/Shell/Shell.c
@@ -2067,7 +2067,7 @@ RunCommandOrFile(
//
// Update last error status.
//
- SetLastError(StatusCode);
+ SetLastError((SHELL_STATUS) StatusCode);
break;
default:
//