mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:57:45 +00:00
LibEDID: Use AssertSize<> for ExtensionBlock
This commit is contained in:
parent
2061ee2632
commit
a2f33fdcef
1 changed files with 1 additions and 3 deletions
|
@ -154,9 +154,7 @@ struct [[gnu::packed]] ExtensionBlock {
|
||||||
};
|
};
|
||||||
u8 checksum;
|
u8 checksum;
|
||||||
};
|
};
|
||||||
|
static_assert(AssertSize<ExtensionBlock, 128>());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static_assert(sizeof(Definitions::ExtensionBlock) == 128);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue