diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-29 23:30:28 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-29 23:30:28 +0000 |
commit | d7e4e50bdb9478c3e60ae855abcf2596991c976b (patch) | |
tree | 3ba01896040b47f63809cebbbc8e1caf77883a9e /io.c | |
parent | 1372c092a07269ed674bce5c65bce207390c23c7 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |