From 3e108dfd7dcd495732e86d2d1339364033512ecf Mon Sep 17 00:00:00 2001 From: Shumin Qiu Date: Tue, 31 Dec 2013 04:01:17 +0000 Subject: [PATCH] Set the type of variable 'StatusCode' as SHELL_STATUS to match the parameter type of function 'SetLastError'. Signed-off-by: Shumin Qiu Reviewed-by: Gao, Liming git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15031 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Application/Shell/Shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: // -- 2.39.2