kuba-- / zip

A portable, simple zip library written in C
MIT License
1.42k stars 276 forks source link

Failed to build 32-bit with gcc #340

Closed star-hengxing closed 8 months ago

star-hengxing commented 8 months ago
src/miniz.h:8542:30: error: comparison is always false due to limited range of data type [-Werror=type-limits]
|     if (((mz_uint64)buf_size > 0xFFFFFFFF) || (uncomp_size > 0xFFFFFFFF)) {
|                              ^
kuba-- commented 8 months ago

Thanks, but IMO this issue should be submitted to miniz repo (https://github.com/richgel999/miniz).