Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler warnings on 32-bit #303

Open
star-hengxing opened this issue Mar 2, 2024 · 1 comment
Open

Compiler warnings on 32-bit #303

star-hengxing opened this issue Mar 2, 2024 · 1 comment

Comments

@star-hengxing
Copy link

miniz/miniz_zip.c

Line 3253 in 16413c2

if (((mz_uint64)buf_size > 0xFFFFFFFF) || (uncomp_size > 0xFFFFFFFF))

comparison is always false due to limited range of data type

|     if (((mz_uint64)buf_size > 0xFFFFFFFF) || (uncomp_size > 0xFFFFFFFF)) {
|                              ^

f542e6d didn't fix the problem.

@phuchm
Copy link

phuchm commented May 31, 2024

Me too. Any updates to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants