diff --git a/omf.cpp b/omf.cpp index 3d8dc90..337f45b 100644 --- a/omf.cpp +++ b/omf.cpp @@ -63,6 +63,9 @@ struct omf_express_header { #pragma pack(pop) +static_assert(sizeof(omf_header) == 44, "OMF Header not packed"); +static_assert(sizeof(omf_express_header) == 48, "OMF Express Header not packed"); + void push(std::vector<uint8_t> &v, uint8_t x) { v.push_back(x); }