summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCohen Eugene <eugene@hp.com>2015-11-26 01:04:41 +0000
committershenshushi <shenshushi@Edk2>2015-11-26 01:04:41 +0000
commit01e3a9767157e4b82ff884c745ab649b34e3cbff (patch)
treef5d0d1473faa7fd9fa4ad8edb82ac84dccc64dfb
parentebe32e8910f017e2dd8f8b33ddcf2d2059490b43 (diff)
downloadedk2-01e3a9767157e4b82ff884c745ab649b34e3cbff.zip
edk2-01e3a9767157e4b82ff884c745ab649b34e3cbff.tar.gz
edk2-01e3a9767157e4b82ff884c745ab649b34e3cbff.tar.bz2
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. 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/trunk/edk2@18954 6f19259b-4bc3-4df7-8a09-765794883524
-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 8af6647..3606322 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);