--- pngconf.h 2005-02-26 07:44:41.889125584 -0600 +++ pngconf.h.new 2005-02-26 07:45:42.046980200 -0600 @@ -1047,8 +1047,8 @@ * want to have unsigned int for png_uint_32 instead of unsigned long. */ -typedef unsigned long png_uint_32; -typedef long png_int_32; +typedef unsigned int png_uint_32; +typedef int png_int_32; typedef unsigned short png_uint_16; typedef short png_int_16; typedef unsigned char png_byte;