Fix typos

This commit is contained in:
atxr 2024-02-06 16:18:08 +01:00
parent 3458794791
commit e04a231974
4 changed files with 16 additions and 16 deletions

View file

@ -6,11 +6,11 @@ int get_uncompressed_size(zip* in)
{
int size = 0;
CDH* cdh = in->central_directory;
CDH* cdh = in->cd;
while (cdh)
{
size += cdh->lfh->size_uncompressed_data;
cdh = cdh++;
size += cdh->lfh->size_uncompressed_data; // TODO overflow
cdh++;
}
return size;