Return value from write is ssize_t, not int

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2017-03-12 12:16:23 +01:00
parent 6c420fa494
commit a3f297d3c2
1 changed files with 1 additions and 1 deletions

View File

@ -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 ())
{