summaryrefslogtreecommitdiff
path: root/ShellPkg/Application
diff options
context:
space:
mode:
authorCohen Eugene <eugene@hp.com>2015-12-18 07:35:47 +0000
committervanjeff <vanjeff@Edk2>2015-12-18 07:35:47 +0000
commitb2a2d3c39cc2c589326b0b693ac3297205d518bd (patch)
tree01fbb3643d94bde8752b205bfc2e88e5910a4370 /ShellPkg/Application
parentb5e0f73c8f0e5344d17071e6791749700fb63fd4 (diff)
downloadedk2-platforms-b2a2d3c39cc2c589326b0b693ac3297205d518bd.tar.xz
ShellPkg: fix RVCT warning due to CONST in typecast.
Building the latest shell on RVCT exposed this warning: ShellPkg\Application\Shell\Shell.c(1090,69): error #191-D: type qualifier is meaningless on cast type The CONST in the cast was deemed meaningless. Removing the CONST fixed the warning. (Sync patch r18954 from main trunk.) Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Cohen Eugene <eugene@hp.com> Reviewed-by: Qiu Shumin <shumin.qiu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@19404 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 8af66479a3..36063227a2 100644
--- a/ShellPkg/Application/Shell/Shell.c
+++ b/ShellPkg/Application/Shell/Shell.c
@@ -1087,7 +1087,7 @@ DoStartupScript(
}
Status = RunShellCommand(FileStringPath, &CalleeStatus);
if (ShellInfoObject.ShellInitSettings.BitUnion.Bits.Exit == TRUE) {
- ShellCommandRegisterExit(gEfiShellProtocol->BatchIsActive(), (CONST UINT64)CalleeStatus);
+ ShellCommandRegisterExit(gEfiShellProtocol->BatchIsActive(), (UINT64)CalleeStatus);
}
FreePool(FileStringPath);
return (Status);