From b2a2d3c39cc2c589326b0b693ac3297205d518bd Mon Sep 17 00:00:00 2001 From: Cohen Eugene Date: Fri, 18 Dec 2015 07:35:47 +0000 Subject: 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 Reviewed-by: Qiu Shumin git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@19404 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Application/Shell/Shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ShellPkg/Application') 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); -- cgit v1.2.3