jibsen/brieflz

blzpack reports wrong size for large files

jibsen opened this issue · 0 comments

The blzpack example program uses unsigned long variables to compute the total input and output size.

If unsigned long is 32-bit, the reported sizes will be wrong when compressing files larger than 4 GiB.

There is no portable way to solve this in ANSI C (C89).

This issue should not affect the success of compression and decompression.