diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2017-03-12 14:16:23 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2017-03-12 14:16:23 +0300 |
commit | a3f297d3c2657ad4e1007bc04048ae5f561466af (patch) | |
tree | 16608c9afa8a7007e94a59ac428f86711164a5b3 /winsup | |
parent | 6c420fa49455a7f743c01190e1d23b0749e20fa6 (diff) |
Return value from write is ssize_t, not int
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/fhandler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index aa4cd6983..af334805a 100644 --- a/winsup/cygwin/fhandler.cc +++ b/winsup/cygwin/fhandler.cc @@ -813,7 +813,7 @@ out: ssize_t __stdcall fhandler_base::write (const void *ptr, size_t len) { - int res; + ssize_t res; if (did_lseek ()) { |