diff --git a/src/common/io/io_unix.c b/src/common/io/io_unix.c index 018af9fa7..d6222a367 100644 --- a/src/common/io/io_unix.c +++ b/src/common/io/io_unix.c @@ -94,7 +94,7 @@ bool ffPathExists(const char* path, FFPathType type) if(stat(path, &fileStat) != 0) return false; - int mode = fileStat.st_mode & S_IFMT; + unsigned int mode = fileStat.st_mode & S_IFMT; if(type & FF_PATHTYPE_REGULAR && mode == S_IFREG) return true;