commit | 4fa96a42f752bd70958eaf2635de7e0a875f13a2 | [log] [tgz] |
---|---|---|
author | John Bowler <jbowler@acm.org> | Wed Nov 16 16:39:16 2011 -0600 |
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Wed Nov 16 16:39:16 2011 -0600 |
tree | d55d23c534d5811f9702c1bc6df5c90c71399ff0 | |
parent | c2d8399581bc3b2b87172e223835cbfd1fd2555e [diff] |
[libpng15] Fixes for C++ compilation using g++ When libpng source is compiled using g++. The compiler imposes C++ rules on the C source; thus it is desireable to make the source work with either C or C++ rules without throwing away useful error information. This change adds png_voidcast to allow C semantic (void*) cases or the corresponding C++ static_cast operation, as appropriate.