mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:07:35 +00:00
LibIMAP: Make Section::parts unsigned
This commit is contained in:
parent
27644785f1
commit
2c793d5935
2 changed files with 3 additions and 3 deletions
|
@ -716,12 +716,12 @@ FetchCommand::DataItem Parser::parse_fetch_data_item()
|
|||
consume("]");
|
||||
} else if (is_ascii_digit(section_type[0])) {
|
||||
data_item.section->type = FetchCommand::DataItem::SectionType::Parts;
|
||||
data_item.section->parts = Vector<int>();
|
||||
data_item.section->parts = Vector<unsigned>();
|
||||
|
||||
while (!try_consume("]")) {
|
||||
auto num = parse_number();
|
||||
if (num != (unsigned)-1) {
|
||||
data_item.section->parts->append((int)num);
|
||||
data_item.section->parts->append(num);
|
||||
continue;
|
||||
}
|
||||
auto atom = parse_atom();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue