[libpng15] Change info_ptr->unknown_chunks_num to type png_uint_32

and test against INT_MAX instead of UINT_MAX in pngset.c
This commit is contained in:
Glenn Randers-Pehrson
2013-01-17 10:52:48 -06:00
parent 5b9fe98c5f
commit 77a817bfc2
4 changed files with 16 additions and 10 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;
int unknown_chunks_num;
png_uint_32 unknown_chunks_num;
#endif
#ifdef PNG_iCCP_SUPPORTED