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
This commit is contained in:
Shumin Qiu 2013-12-31 04:01:17 +00:00 committed by shenshushi
parent 6307a8b6dc
commit 3e108dfd7d
1 changed files with 1 additions and 1 deletions

View File

@ -2067,7 +2067,7 @@ RunCommandOrFile(
// //
// Update last error status. // Update last error status.
// //
SetLastError(StatusCode); SetLastError((SHELL_STATUS) StatusCode);
break; break;
default: default:
// //