diff --git a/Compat.c b/Compat.c index 43d02ec7..1077c08b 100644 --- a/Compat.c +++ b/Compat.c @@ -37,7 +37,7 @@ int Compat_faccessat(int dirfd, #endif // Error out on unsupported configurations - if (dirfd != AT_FDCWD || mode != F_OK) { + if (dirfd != (int)AT_FDCWD || mode != F_OK) { errno = EINVAL; return -1; }