Revision: 16888
http://sourceforge.net/p/edk2/code/16888
Author: oliviermartin
Date: 2015-02-23 11:13:58 +0000 (Mon, 23 Feb 2015)
Log Message:
-----------
ShellPkg/UefiShellLib: Fixed ARM compiler error
ARM Compiler version 5 raises the warning/error (warning treated as error):
#191-D: type qualifier is meaningless on cast type
The compiler team said the warning is valid because from the C90 standard,
section 6.5.3 it is specified that "The properties associated with
qualified types are meaningful only for expressions that are lvalues."
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <[email protected]>
Reviewed-by: Jaben Carsey <[email protected]>
Modified Paths:
--------------
trunk/edk2/ShellPkg/Library/UefiShellLib/UefiShellLib.c
Modified: trunk/edk2/ShellPkg/Library/UefiShellLib/UefiShellLib.c
===================================================================
--- trunk/edk2/ShellPkg/Library/UefiShellLib/UefiShellLib.c 2015-02-19
23:46:27 UTC (rev 16887)
+++ trunk/edk2/ShellPkg/Library/UefiShellLib/UefiShellLib.c 2015-02-23
11:13:58 UTC (rev 16888)
@@ -2101,7 +2101,7 @@
ASSERT(GetItemValue == 0);
break;
}
- } else if (GetItemValue != 0 && CurrentItemPackage != NULL &&
!InternalIsFlag(Argv[LoopCounter], AlwaysAllowNumbers, (CONST
BOOLEAN)(CurrentItemPackage->Type == TypeTimeValue))) {
+ } else if (GetItemValue != 0 && CurrentItemPackage != NULL &&
!InternalIsFlag(Argv[LoopCounter], AlwaysAllowNumbers, CurrentItemPackage->Type
== TypeTimeValue)) {
//
// get the item VALUE for a previous flag
//
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits