commit | b45416921bbb63c7bbfe6ddafb7b75ac4aeccb75 | [log] [tgz] |
---|---|---|
author | John Bowler <jbowler@acm.org> | Mon Apr 30 06:31:54 2012 -0500 |
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Mon Apr 30 06:31:54 2012 -0500 |
tree | fa320350117520e69430ee48e8dda5f22ce55d6b | |
parent | 040575c80bad1ce17b95b74f21afd2a0f4f48120 [diff] |
[libpng16] Removed need for -Wno-cast-align with clang. clang correctly warns on alignment increasing pointer casts when -Wcast-align is passed. This fixes the cases clang warns about either (pngread.c) by eliminating the casts from png_bytep to png_uint_16p or, for pngrutil.c where the cast is previously verified or pngstest.c where it is OK by introducing new png_aligncast macros to do the cast in a way that clang accepts.