1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:57:45 +00:00

LibEDID: Use AssertSize<> for ExtensionBlock

This commit is contained in:
Nico Weber 2023-07-11 13:50:17 -04:00 committed by Ali Mohammad Pur
parent 2061ee2632
commit a2f33fdcef

View file

@ -154,9 +154,7 @@ struct [[gnu::packed]] ExtensionBlock {
}; };
u8 checksum; u8 checksum;
}; };
static_assert(AssertSize<ExtensionBlock, 128>());
} }
static_assert(sizeof(Definitions::ExtensionBlock) == 128);
} }