aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
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