summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal <amlal@nekernel.org>2025-05-01 12:00:57 +0200
committerAmlal <amlal@nekernel.org>2025-05-01 12:00:57 +0200
commitf3345dfebdc9b1668611e80f30cb5bac69db4a49 (patch)
tree0f40506c06bd5e7907b55b9699c494d49d6f73a4
parent1e8b22f34ce423b23d1b4c4ea59ed16aa29842d8 (diff)
mkfs: hefs: pack structure to avoid additional alignement.
Signed-off-by: Amlal <amlal@nekernel.org>
-rw-r--r--tooling/hefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tooling/hefs.h b/tooling/hefs.h
index 52c951ef..99d04768 100644
--- a/tooling/hefs.h
+++ b/tooling/hefs.h
@@ -83,7 +83,7 @@ inline constexpr ATime kHeFSTimeInvalid = 0x0000000000000000;
inline constexpr ATime kHeFSTimeMax = 0xFFFFFFFFFFFFFFFF - 1;
// Boot Node
-struct alignas(8) BootNode {
+struct __attribute__((packed)) BootNode {
char magic[kHeFSMagicLen]{};
char8_t volumeName[kHeFSPartNameLen]{};
std::uint32_t version{};