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