Fix unsigned typos
This commit is contained in:
parent
8ca61905e1
commit
c06790d5e0
2 changed files with 8 additions and 7 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue