[libpng16] Push two files that weren't updated in previous push.
diff --git a/png.c b/png.c
index eeccfcd..7c717bc 100644
--- a/png.c
+++ b/png.c
@@ -545,7 +545,7 @@
{
if (info_ptr->splt_palettes_num)
{
- unsigned int i;
+ int i;
for (i = 0; i < info_ptr->splt_palettes_num; i++)
png_free_data(png_ptr, info_ptr, PNG_FREE_SPLT, (int)i);
@@ -572,7 +572,7 @@
else
{
- unsigned int i;
+ int i;
if (info_ptr->unknown_chunks_num)
{
@@ -768,13 +768,13 @@
#else
# ifdef __STDC__
return PNG_STRING_NEWLINE \
- "libpng version 1.6.0beta40 - January 19, 2013" PNG_STRING_NEWLINE \
+ "libpng version 1.6.0beta40 - January 20, 2013" PNG_STRING_NEWLINE \
"Copyright (c) 1998-2013 Glenn Randers-Pehrson" PNG_STRING_NEWLINE \
"Copyright (c) 1996-1997 Andreas Dilger" PNG_STRING_NEWLINE \
"Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc." \
PNG_STRING_NEWLINE;
# else
- return "libpng version 1.6.0beta40 - January 19, 2013\
+ return "libpng version 1.6.0beta40 - January 20, 2013\
Copyright (c) 1998-2013 Glenn Randers-Pehrson\
Copyright (c) 1996-1997 Andreas Dilger\
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.";
diff --git a/pnginfo.h b/pnginfo.h
index 6921b23..90f11da 100644
--- a/pnginfo.h
+++ b/pnginfo.h
@@ -223,16 +223,17 @@
#ifdef PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED
/* Storage for unknown chunks that the library doesn't recognize. */
png_unknown_chunkp unknown_chunks;
- /* The type of this field must match png_struct::user_chunk_cache_max,
- * else overflow can occur.
+
+ /* The type of this field is limited by the type of
+ * png_struct::user_chunk_cache_max, else overflow can occur.
*/
- int unknown_chunks_num;
+ int unknown_chunks_num;
#endif
#ifdef PNG_sPLT_SUPPORTED
/* Data on sPLT chunks (there may be more than one). */
png_sPLT_tp splt_palettes;
- int splt_palettes_num;
+ int splt_palettes_num; /* Match type returned by png_get API */
#endif
#ifdef PNG_sCAL_SUPPORTED