Re: [edk2] [PATCH] ShellPkg: fix RVCT warning due to CONST in typecast

2015-11-25 Thread Qiu, Shumin
Reviewed-by: Qiu Shumin <shumin@intel.com> -Original Message- From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Cohen, Eugene Sent: Wednesday, November 25, 2015 3:35 AM To: edk2-devel@lists.01.org; Carsey, Jaben Subject: [edk2] [PATCH] ShellPkg: fix RVCT w

[edk2] [PATCH] ShellPkg: fix RVCT warning due to CONST in typecast

2015-11-24 Thread Cohen, Eugene
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. --- edk2/ShellPkg/Application/Shell/Shell.c | 2