1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
normal 2018-11-29 23:30:28 +00:00
parent 1372c092a0
commit d7e4e50bdb

2
io.c
View file

@ -11114,7 +11114,7 @@ nogvl_copy_stream_sendfile(struct copy_stream_struct *stp)
} }
stp->syserr = "sendfile"; stp->syserr = "sendfile";
stp->error_no = errno; stp->error_no = errno;
return ss; return (int)ss;
} }
return 1; return 1;
} }