summaryrefslogtreecommitdiff
path: root/util/libreboot-utils
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-04-01 17:33:01 +0100
committerLeah Rowe <leah@libreboot.org>2026-04-01 17:33:01 +0100
commit249ae57c295c94f4d244251bf5639be305ab2528 (patch)
tree53da64b5e6bda9a833553aadcffb1bd28c2d3769 /util/libreboot-utils
parentc48a962eaf4d2033465a01c83c98caeca7b5a5fd (diff)
lbutils/file: fix implicit conversion on openat2
as dictated by clang -Weverything Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/libreboot-utils')
-rw-r--r--util/libreboot-utils/lib/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/libreboot-utils/lib/file.c b/util/libreboot-utils/lib/file.c
index 3ec39239..9af3b89e 100644
--- a/util/libreboot-utils/lib/file.c
+++ b/util/libreboot-utils/lib/file.c
@@ -622,7 +622,7 @@ openat_on_eintr(int dirfd, const char *path,
int flags, mode_t mode)
{
struct open_how how = {
- .flags = flags,
+ .flags = (unsigned long long)flags,
.mode = mode,
.resolve =
RESOLVE_BENEATH |