summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_tty.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2012-10-15 14:36:48 +0000
committerChristopher Faylor <me@cgf.cx>2012-10-15 14:36:48 +0000
commit744f194868978d333c59c564737b364c8140b863 (patch)
tree7793ec8e2ea891dfef6b76236084b14528024dba /winsup/cygwin/fhandler_tty.cc
parent6832e38a83a62df800585ee0f0b6dff93e76ac03 (diff)
downloadcygnal-744f194868978d333c59c564737b364c8140b863.tar.gz
cygnal-744f194868978d333c59c564737b364c8140b863.tar.bz2
cygnal-744f194868978d333c59c564737b364c8140b863.zip
* fhandler_tty.cc (fhandler_pty_slave::write): DWORD -> BOOL.
Diffstat (limited to 'winsup/cygwin/fhandler_tty.cc')
-rw-r--r--winsup/cygwin/fhandler_tty.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc
index dccbf13ea..954fd6622 100644
--- a/winsup/cygwin/fhandler_tty.cc
+++ b/winsup/cygwin/fhandler_tty.cc
@@ -666,7 +666,7 @@ fhandler_pty_slave::write (const void *ptr, size_t len)
break;
}
- DWORD res = WriteFile (get_output_handle (), buf, n, &n, NULL);
+ BOOL res = WriteFile (get_output_handle (), buf, n, &n, NULL);
release_output_mutex ();
if (!res)
{