pfalcon / uzlib

Radically unbloated DEFLATE/zlib/gzip compression/decompression library. Can decompress any gzip/zlib data, and offers simplified compressor which produces gzip-compatible output, while requiring much less resources (and providing less compression ratio of course).
Other
303 stars 82 forks source link

Fix compiler warnings on 16-bit architecture #30

Closed henriknil closed 4 years ago

henriknil commented 4 years ago

On archtectures where unsigned int is only 16 bits the warning: "unsigned conversion from 'long int' to 'unsigned int' changes value from 'xxx' to 'yyy' [-Werror=overflow] and "left shift count

= width of type [-Werror=shift-count-overflow]" where issued.

pfalcon commented 4 years ago

Thanks, but please follow commit style of the project (git log): commit message format, and not directly related changes should be separate.

pfalcon commented 4 years ago

Thanks for the updates, merged.