summaryrefslogtreecommitdiff
path: root/StdLib
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
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')
-rw-r--r--StdLib/LibC/Uefi/Devices/Console/daConsole.c2
-rw-r--r--StdLib/StdLib.dsc2
2 files changed, 2 insertions, 2 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;
diff --git a/StdLib/StdLib.dsc b/StdLib/StdLib.dsc
index 8077b045f8..43bd3e2cd7 100644
--- a/StdLib/StdLib.dsc
+++ b/StdLib/StdLib.dsc
@@ -28,7 +28,7 @@
DSC_SPECIFICATION = 0x00010006
OUTPUT_DIRECTORY = Build/StdLib
SUPPORTED_ARCHITECTURES = IA32|X64|ARM
- BUILD_TARGETS = DEBUG|RELEASE
+ BUILD_TARGETS = DEBUG|RELEASE|NOOPT
SKUID_IDENTIFIER = DEFAULT
#