diff --git a/native/jni/magiskboot/dtb.cpp b/native/jni/magiskboot/dtb.cpp index e9fef715b..5a8a98990 100644 --- a/native/jni/magiskboot/dtb.cpp +++ b/native/jni/magiskboot/dtb.cpp @@ -52,7 +52,7 @@ struct bhtable_v2 { uint32_t offset; /* DTB offset in DTBH */ uint32_t len; /* DTB size */ uint32_t space; /* 0x00000020 */ -}; +} __attribute__((packed)); struct dtb_blob { void *fdt;