summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-29 23:30:28 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-29 23:30:28 +0000
commitd7e4e50bdb9478c3e60ae855abcf2596991c976b (patch)
tree3ba01896040b47f63809cebbbc8e1caf77883a9e /io.c
parent1372c092a07269ed674bce5c65bce207390c23c7 (diff)
io.c: fix clang -Werror,-Wshorten-64-to-32 on Linux sendfile
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-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;
}