1
Fork 0
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:
Tim Schumacher 2023-10-24 10:57:50 +02:00 committed by Jelle Raaijmakers
parent 786e654dfd
commit 25642dfe87
3 changed files with 12 additions and 6 deletions

View file

@ -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);