Revision: 16333
          http://sourceforge.net/p/edk2/code/16333
Author:   shenshushi
Date:     2014-11-12 01:07:23 +0000 (Wed, 12 Nov 2014)
Log Message:
-----------
ShellPkg: Add type cast to avoid build failure in VS2005.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <[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     2014-11-11 
23:15:32 UTC (rev 16332)
+++ trunk/edk2/ShellPkg/Library/UefiShellLib/UefiShellLib.c     2014-11-12 
01:07:23 UTC (rev 16333)
@@ -2078,7 +2078,7 @@
           ASSERT(GetItemValue == 0);
           break;
       }
-    } else if (GetItemValue != 0 && !InternalIsFlag(Argv[LoopCounter], 
AlwaysAllowNumbers, CurrentItemPackage->Type == TypeTimeValue)) {
+    } else if (GetItemValue != 0 && !InternalIsFlag(Argv[LoopCounter], 
AlwaysAllowNumbers, (CONST BOOLEAN)(CurrentItemPackage->Type == 
TypeTimeValue))) {
       ASSERT(CurrentItemPackage != NULL);
       //
       // get the item VALUE for a previous flag


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to