summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_windows.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-09-07 18:27:54 +0000
committerChristopher Faylor <me@cgf.cx>2003-09-07 18:27:54 +0000
commitbd8938985e9653601491742c9e4a4cfbe22e73ec (patch)
tree69a1c31ecc44996034c523ae50aa1b98d86ede35 /winsup/cygwin/fhandler_windows.cc
parented2287adcd6b16a0ef34defb443d5c61fc7830d7 (diff)
downloadcygnal-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_windows.cc')
-rw-r--r--winsup/cygwin/fhandler_windows.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_windows.cc b/winsup/cygwin/fhandler_windows.cc
index f200f482a..8b02e3fc6 100644
--- a/winsup/cygwin/fhandler_windows.cc
+++ b/winsup/cygwin/fhandler_windows.cc
@@ -90,7 +90,7 @@ fhandler_windows::read (void *buf, size_t& len)
return;
}
- (ssize_t) len = GetMessage (ptr, hWnd_, 0, 0);
+ len = (size_t) GetMessage (ptr, hWnd_, 0, 0);
if ((ssize_t) len == -1)
__seterrno ();