lvandeve / lodepng

PNG encoder and decoder in C and C++.
zlib License
2.06k stars 421 forks source link

Resolved issue #24 #51

Closed jobtalle closed 6 years ago

jobtalle commented 7 years ago

Resolved issue #24, which was only partially resolved by pull request #34.

stinos commented 7 years ago

Still has a 'C4127: conditional expression is constant' at line 2627. See last 4 commits at https://github.com/stinos/lodepng/commits/master for everything I needed to remove all warnings and runtime errors. '

stinos commented 6 years ago

Also still has a warning "C4334 '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) at line 3479 size_t palsize = 1u << mode_out->bitdepth; Fix by using size_t(1u) instead