commit | 0406deb1ca2e012ba551efd6eeec40803e4480b1 | [log] [tgz] |
---|---|---|
author | Cosmin Truta <ctruta@gmail.com> | Tue Sep 13 01:54:17 2022 +0300 |
committer | Cosmin Truta <ctruta@gmail.com> | Tue Sep 13 01:54:17 2022 +0300 |
tree | 1ff2460d155d49e0fc45eeaf1d2ff04d47781830 | |
parent | 5f5f98a1a919e89f0bcea26d73d96dec760f222f [diff] |
Fix private macro png_constcast; delete private type png_ptruint In order to appease the compiler warnings that might affect the uses of png_constcast, it should be sufficient to cast the source pointer type to (const void*), and then to (void*), and then to the destination pointer type. An intermediate cast through an integer type, such as (png_ptruint), should not be needed.