summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 2d69489abe..ac35e1ee4f 100644
--- a/io.c
+++ b/io.c
@@ -11114,7 +11114,7 @@ nogvl_copy_stream_sendfile(struct copy_stream_struct *stp)
}
stp->syserr = "sendfile";
stp->error_no = errno;
- return ss;
+ return (int)ss;
}
return 1;
}