[libpng15] Revised test for validity of "num_unknowns" to eliminate compiler

warnings.
This commit is contained in:
John Bowler
2013-01-17 13:09:32 -06:00
committed by Glenn Randers-Pehrson
parent 77a817bfc2
commit bec9ca9b8a
4 changed files with 7 additions and 6 deletions

View File

@@ -228,7 +228,7 @@ defined(PNG_READ_BACKGROUND_SUPPORTED)
defined(PNG_HANDLE_AS_UNKNOWN_SUPPORTED)
/* Storage for unknown chunks that the library doesn't recognize. */
png_unknown_chunkp unknown_chunks;
png_uint_32 unknown_chunks_num;
int unknown_chunks_num;
#endif
#ifdef PNG_iCCP_SUPPORTED