mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:17:35 +00:00
LibCompress: Implement correct validation of last filters
This commit is contained in:
parent
786e654dfd
commit
25642dfe87
3 changed files with 12 additions and 6 deletions
|
@ -85,7 +85,7 @@ struct [[gnu::packed]] XzBlockFlags {
|
|||
bool compressed_size_present : 1;
|
||||
bool uncompressed_size_present : 1;
|
||||
|
||||
u8 number_of_filters() const;
|
||||
size_t number_of_filters() const;
|
||||
};
|
||||
static_assert(sizeof(XzBlockFlags) == 1);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue