Fix unsigned typos

This commit is contained in:
atxr 2024-02-28 03:21:08 +01:00
parent 8ca61905e1
commit c06790d5e0
2 changed files with 8 additions and 7 deletions

View file

@ -62,8 +62,9 @@ void get_cdh(zip* z)
z->lfh_off[i] = cdh->off_lfh;
z->cdh_filename_length[i] = cdh->filename_length;
cdh = (CDH*) (((char*) cdh) + sizeof(CDH) + cdh->filename_length +
cdh->extraf_length + cdh->file_comment_length);
unsigned short len = cdh->filename_length + cdh->extraf_length +
cdh->file_comment_length;
cdh = (CDH*) (((char*) cdh) + sizeof(CDH) + len);
}
}