summaryrefslogtreecommitdiff
path: root/StdLib/LibC
diff options
context:
space:
mode:
authorDaryl McDaniel <daryl.mcdaniel@intel.com>2014-11-11 22:56:58 +0000
committerdarylm503 <darylm503@Edk2>2014-11-11 22:56:58 +0000
commit4b2cf923c0ffdb00cc05373d3f295f0ad086c978 (patch)
treeb7dfc796914efae6d46107f724f670fe464a0117 /StdLib/LibC
parent8200fcfe54808ec0704f405c8f8e718e6452143e (diff)
downloadedk2-platforms-4b2cf923c0ffdb00cc05373d3f295f0ad086c978.tar.xz
StdLib/AppPkg: Add the NOOPT build target and fix a type conversion problem with VS2005.
AppPkg.dsc: Remove IPF support and add NOOPT build target. StdLib.dsc: Add NOOPT build target. daConsole.c: Cast a comparison to BOOLEAN before assigning it to a BOOLEAN. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Daryl McDaniel <daryl.mcdaniel@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16331 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLib/LibC')
-rw-r--r--StdLib/LibC/Uefi/Devices/Console/daConsole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/StdLib/LibC/Uefi/Devices/Console/daConsole.c b/StdLib/LibC/Uefi/Devices/Console/daConsole.c
index 884e7017b4..d926a0c56e 100644
--- a/StdLib/LibC/Uefi/Devices/Console/daConsole.c
+++ b/StdLib/LibC/Uefi/Devices/Console/daConsole.c
@@ -361,7 +361,7 @@ da_ConRead(
else {
Stream = BASE_CR(filp->f_ops, ConInstance, Abstraction);
Proto = (EFI_SIMPLE_TEXT_INPUT_PROTOCOL *)Stream->Dev;
- BlockingMode = ((filp->Oflags & O_NONBLOCK) == 0);
+ BlockingMode = (BOOLEAN)((filp->Oflags & O_NONBLOCK) == 0);
do {
Status = EFI_SUCCESS;