From e487e86e982a56ded6e5070aeef0d77655043216 Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 20 Feb 2019 07:34:05 +0000 Subject: [PATCH] fix r67097 with cast git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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