Return value from write is ssize_t, not int
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@ -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 ())
|
||||
{
|
||||
|
Reference in New Issue
Block a user