summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_tty.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-09-07 02:22:58 +0000
committerChristopher Faylor <me@cgf.cx>2003-09-07 02:22:58 +0000
commit6cce721b15c6ac75e7d6ae86a4354aa02bcf14d8 (patch)
treea7538e4b61839375dabaee0d9647d30befe04ac6 /winsup/cygwin/fhandler_tty.cc
parent46645f9c6efc9009d7bada23d7ae5f03e6ed8bd3 (diff)
downloadcygnal-6cce721b15c6ac75e7d6ae86a4354aa02bcf14d8.tar.gz
cygnal-6cce721b15c6ac75e7d6ae86a4354aa02bcf14d8.tar.bz2
cygnal-6cce721b15c6ac75e7d6ae86a4354aa02bcf14d8.zip
Remove left coercion throughout.
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 a3694ae9d..c273a68e0 100644
--- a/winsup/cygwin/fhandler_tty.cc
+++ b/winsup/cygwin/fhandler_tty.cc
@@ -737,7 +737,7 @@ fhandler_tty_slave::read (void *ptr, size_t& len)
if (totalread > 0)
break;
set_sig_errno (EINTR);
- (ssize_t) len = -1;
+ len = (size_t) -1;
return;
}