From 5162b4fdecc230b174e8b89d72ffda0879ee68e9 Mon Sep 17 00:00:00 2001 From: Marius Messerschmidt Date: Fri, 17 Nov 2023 22:27:19 +0100 Subject: [PATCH] ClangTidy: add missing unsigned specifier --- src/common/io/io_unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;