Imported from libpng-1.0.9rc1.tar
diff --git a/example.c b/example.c
index aa920fe..47a0225 100644
--- a/example.c
+++ b/example.c
@@ -267,7 +267,7 @@
     */
    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 */