diff options
author | Christopher Faylor <me@cgf.cx> | 2003-09-07 18:27:54 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-09-07 18:27:54 +0000 |
commit | bd8938985e9653601491742c9e4a4cfbe22e73ec (patch) | |
tree | 69a1c31ecc44996034c523ae50aa1b98d86ede35 /winsup/cygwin/fhandler_tty.cc | |
parent | ed2287adcd6b16a0ef34defb443d5c61fc7830d7 (diff) | |
download | cygnal-bd8938985e9653601491742c9e4a4cfbe22e73ec.tar.gz cygnal-bd8938985e9653601491742c9e4a4cfbe22e73ec.tar.bz2 cygnal-bd8938985e9653601491742c9e4a4cfbe22e73ec.zip |
* cygheap.cc (_csbrk): More left coercion cleanup.
* fhandler_tty.cc (fhandler_tty_slave::read): Ditto.
(fhandler_tty_slave::write): Ditto.
* fhandler_windows.cc (fhandler_windows::read): Ditto.
* heap.cc (sbrk): Ditto.
Diffstat (limited to 'winsup/cygwin/fhandler_tty.cc')
-rw-r--r-- | winsup/cygwin/fhandler_tty.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index c273a68e0..8ba843e17 100644 --- a/winsup/cygwin/fhandler_tty.cc +++ b/winsup/cygwin/fhandler_tty.cc @@ -762,7 +762,7 @@ fhandler_tty_slave::read (void *ptr, size_t& len) if (!vmin && !time_to_wait) { ReleaseMutex (input_mutex); - (ssize_t) len = bytes_in_pipe; + len = (size_t) bytes_in_pipe; return; } @@ -842,7 +842,7 @@ fhandler_tty_slave::read (void *ptr, size_t& len) waiter = time_to_wait; } termios_printf ("%d=read(%x, %d)", totalread, ptr, len); - (ssize_t) len = totalread; + len = (size_t) totalread; return; } @@ -1153,7 +1153,7 @@ fhandler_pty_master::write (const void *ptr, size_t len) void __stdcall fhandler_pty_master::read (void *ptr, size_t& len) { - (ssize_t) len = process_slave_output ((char *) ptr, len, pktmode); + len = (size_t) process_slave_output ((char *) ptr, len, pktmode); return; } |