4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-18 12:29:32 +08:00

* fhandler_tty.cc (fhandler_pty_slave::write): DWORD -> BOOL.

This commit is contained in:
Christopher Faylor 2012-10-15 14:36:48 +00:00
parent 6832e38a83
commit 744f194868
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-10-15 Christopher Faylor <me.cygwin2012@cgf.cx>
* fhandler_tty.cc (fhandler_pty_slave::write): DWORD -> BOOL.
2012-10-13 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_dev_raw): Add members devbufalloc and

View File

@ -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)
{