]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/LibC/Uefi/Devices/Console/daConsole.c
StdLib/AppPkg: Add the NOOPT build target and fix a type conversion problem with...
[mirror_edk2.git] / StdLib / LibC / Uefi / Devices / Console / daConsole.c
index 884e7017b43a69a129791af57dc6a7bc6f3a2ae5..d926a0c56e5e205b7efe80782d89fcaa3a672a4a 100644 (file)
@@ -361,7 +361,7 @@ da_ConRead(
   else {\r
     Stream = BASE_CR(filp->f_ops, ConInstance, Abstraction);\r
     Proto = (EFI_SIMPLE_TEXT_INPUT_PROTOCOL *)Stream->Dev;\r
-    BlockingMode = ((filp->Oflags & O_NONBLOCK) == 0);\r
+    BlockingMode = (BOOLEAN)((filp->Oflags & O_NONBLOCK) == 0);\r
 \r
     do {\r
       Status = EFI_SUCCESS;\r