Commit f090af0a authored by Max Kellermann's avatar Max Kellermann

tag/RiffFormat: add static_asserts on sizeof()

parent 58f420fd
......@@ -28,9 +28,13 @@ struct RiffFileHeader {
char format[4];
};
static_assert(sizeof(RiffFileHeader) == 12);
struct RiffChunkHeader {
char id[4];
uint32_t size;
};
static_assert(sizeof(RiffChunkHeader) == 8);
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment