mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng15] Revised test for validity of "num_unknowns" to eliminate compiler
warnings.
This commit is contained in:
committed by
Glenn Randers-Pehrson
parent
77a817bfc2
commit
bec9ca9b8a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user