]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: file I/O: make sure to treat write return value as ssize_t
authorCorinna Vinschen <corinna@vinschen.de>
Fri, 24 Apr 2020 14:14:43 +0000 (16:14 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 24 Apr 2020 14:14:43 +0000 (16:14 +0200)
commit5a7e130c31dfdf78f2e1b30dd6ec39a842be1336
tree765beaf464b87f7d7437b333145f7cae58190d16
parent8a0bdd84b86e4c8c75a134fca05976e9494fef3f
Cygwin: file I/O: make sure to treat write return value as ssize_t

The return type of fhandler write methods is ssize_t.  Don't
use an int to store the return value, use ssize_t.  Use ptrdiff_t
for the buffer size.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/fhandler.cc
This page took 0.032935 seconds and 5 git commands to generate.