diff --git a/include/interface.h b/include/interface.h index 85c79394b..338ee68f3 100644 --- a/include/interface.h +++ b/include/interface.h @@ -812,6 +812,9 @@ typedef struct struct_psafe2_hdr #define HCCAPX_SIGNATURE 0x58504348 // HCPX +// this is required to force mingw to accept the packed attribute +#pragma pack(push,1) + struct hccapx { u32 signature; @@ -832,6 +835,8 @@ struct hccapx typedef struct hccapx hccapx_t; +#pragma pack(pop) + /** * hashtypes enums */