]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg: fix RVCT warning due to CONST in typecast.
authorCohen Eugene <eugene@hp.com>
Thu, 26 Nov 2015 01:04:41 +0000 (01:04 +0000)
committershenshushi <shenshushi@Edk2>
Thu, 26 Nov 2015 01:04:41 +0000 (01:04 +0000)
commit01e3a9767157e4b82ff884c745ab649b34e3cbff
treef5d0d1473faa7fd9fa4ad8edb82ac84dccc64dfb
parentebe32e8910f017e2dd8f8b33ddcf2d2059490b43
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
ShellPkg/Application/Shell/Shell.c