summaryrefslogtreecommitdiff
path: root/pngstruct.h
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@acm.org>2013-01-19 23:18:59 -0600
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2013-01-19 23:18:59 -0600
commit2414bd99d8c76f92ca9272f1b1b1eff55709298a (patch)
treefb298f2d454e502fb24fbd11fadd9007f8ddf62f /pngstruct.h
parent1f76e62d6cf80e5aa29b113a6e0fc1304e17826b (diff)
[libpng16] Use consistent handling of overflows in text, sPLT and unknown
png_set_* APIs
Diffstat (limited to 'pngstruct.h')
-rw-r--r--pngstruct.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pngstruct.h b/pngstruct.h
index 8d65ae3c8..0c55fa5b4 100644
--- a/pngstruct.h
+++ b/pngstruct.h
@@ -435,7 +435,7 @@ struct png_struct_def
/* Added in libpng-1.4.0: Total number of sPLT, text, and unknown
* chunks that can be stored (0 means unlimited).
*/
- int user_chunk_cache_max;
+ png_uint_32 user_chunk_cache_max;
/* Total memory that a zTXt, sPLT, iTXt, iCCP, or unknown chunk
* can occupy when decompressed. 0 means unlimited.