mirror of https://github.com/acidanthera/audk.git
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:
parent
6307a8b6dc
commit
3e108dfd7d
|
@ -2067,7 +2067,7 @@ RunCommandOrFile(
|
||||||
//
|
//
|
||||||
// Update last error status.
|
// Update last error status.
|
||||||
//
|
//
|
||||||
SetLastError(StatusCode);
|
SetLastError((SHELL_STATUS) StatusCode);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue