Skip to content

Commit

Permalink
Fix *nix build
Browse files Browse the repository at this point in the history
  • Loading branch information
dragon-dreamer committed Dec 8, 2024
1 parent 22ab1c3 commit 48ba591
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,11 @@ struct image_policy_entry
struct image_policy_metadata
{
std::uint8_t version;
std::uint8_t reserved0[7];
// Keep simple items for padding instead of array,
// because boost::pfr does not handle arrays
std::uint32_t reserved0;
std::uint16_t reserved1;
std::uint8_t reserved2;
std::uint64_t application_id;
// image_policy_entry policies[];
};
Expand Down

0 comments on commit 48ba591

Please sign in to comment.