From d7e4e50bdb9478c3e60ae855abcf2596991c976b Mon Sep 17 00:00:00 2001 From: normal Date: Thu, 29 Nov 2018 23:30:28 +0000 Subject: [PATCH] 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 --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }