mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-24 10:18:59 +00:00
LibEDID: Use AssertSize<> for ExtensionBlock
This commit is contained in:
parent
2061ee2632
commit
a2f33fdcef
Notes:
sideshowbarker
2024-07-17 21:11:12 +09:00
Author: https://github.com/nico
Commit: a2f33fdcef
Pull-request: https://github.com/SerenityOS/serenity/pull/19951
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