From 749fc264078e53c877abb1cb8fc50b2b5c5dfc90 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 7 Jun 2025 22:45:49 -0400 Subject: header: Ensure `mode' is fixed at 4 bytes Signed-off-by: Ian Moffett --- omar.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/omar.c b/omar.c index 5838343..a4c7ad6 100644 --- a/omar.c +++ b/omar.c @@ -29,7 +29,6 @@ #include #include -#include #include #include #include @@ -81,7 +80,7 @@ struct omar_hdr { uint8_t namelen; uint32_t len; uint8_t rev; - mode_t mode; + uint32_t mode; } __attribute__((packed)); static inline void -- cgit v1.2.3