summaryrefslogtreecommitdiff
path: root/example.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2000-12-23 14:27:39 -0600
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2009-04-06 16:05:47 -0500
commitf05f8033b80ebebafac9391bae6d6f46b2ffac9c (patch)
treea8f471da0a1645e29e62166b25d1c05c449c5379 /example.c
parent408b42126507e916c98f805ad91ee83f482a3ecf (diff)
Imported from libpng-1.0.9rc1.tar
Diffstat (limited to 'example.c')
-rw-r--r--example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example.c b/example.c
index aa920fe05..47a022580 100644
--- a/example.c
+++ b/example.c
@@ -267,7 +267,7 @@ void read_png(FILE *fp, unsigned int sig_read) /* file is already open */
*/
if (color_type & PNG_COLOR_MASK_COLOR)
{
- png_uint_32 num_palette;
+ int num_palette;
png_colorp palette;
/* This reduces the image to the application supplied palette */