From 249ae57c295c94f4d244251bf5639be305ab2528 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 1 Apr 2026 17:33:01 +0100 Subject: lbutils/file: fix implicit conversion on openat2 as dictated by clang -Weverything Signed-off-by: Leah Rowe --- util/libreboot-utils/lib/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 | -- cgit v1.2.1