diff options
author | Christopher Faylor <me@cgf.cx> | 2003-09-07 02:22:58 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-09-07 02:22:58 +0000 |
commit | 6cce721b15c6ac75e7d6ae86a4354aa02bcf14d8 (patch) | |
tree | a7538e4b61839375dabaee0d9647d30befe04ac6 /winsup/cygwin/pipe.cc | |
parent | 46645f9c6efc9009d7bada23d7ae5f03e6ed8bd3 (diff) | |
download | newlib-6cce721b15c6ac75e7d6ae86a4354aa02bcf14d8.zip newlib-6cce721b15c6ac75e7d6ae86a4354aa02bcf14d8.tar.gz newlib-6cce721b15c6ac75e7d6ae86a4354aa02bcf14d8.tar.bz2 |
Remove left coercion throughout.
Diffstat (limited to 'winsup/cygwin/pipe.cc')
-rw-r--r-- | winsup/cygwin/pipe.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/pipe.cc b/winsup/cygwin/pipe.cc index 45bb984..b1e1009 100644 --- a/winsup/cygwin/pipe.cc +++ b/winsup/cygwin/pipe.cc @@ -76,7 +76,7 @@ fhandler_pipe::read (void *in_ptr, size_t& in_len) ResetEvent (read_state); cygthread *th = new cygthread (read_pipe, &pi, "read_pipe"); if (th->detach (read_state) && !in_len) - (ssize_t) in_len = -1; /* received a signal */ + in_len = (size_t) -1; /* received a signal */ } (void) ReleaseMutex (guard); return; |