aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-02-20 07:34:05 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-02-20 07:34:05 +0000
commite487e86e982a56ded6e5070aeef0d77655043216 (patch)
treea40d364af5b1425ab62dea06b47d9a2bbdc07f5f /file.c
parentf2d3b3623feb66b6ba59ecd866c40b531a3c5251 (diff)
downloadruby-e487e86e982a56ded6e5070aeef0d77655043216.tar.gz
fix r67097 with cast
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 513bde5c65..bf96ae4e2c 100644
--- a/file.c
+++ b/file.c
@@ -1126,7 +1126,7 @@ static inline int
statx(int dirfd, const char *pathname, int flags,
unsigned int mask, struct statx *statxbuf)
{
- return syscall(__NR_statx, dirfd, pathname, flags, mask, statxbuf);
+ return (int)syscall(__NR_statx, dirfd, pathname, flags, mask, statxbuf);
}
# endif
# endif