Patch contributed by Trent Gamblin to compile ASE with Mac OS X.

This commit is contained in:
David Capello 2010-08-13 11:35:43 -03:00
parent d4eae74a53
commit a8fcc8b0af

View File

@ -209,7 +209,7 @@ static bool load_PNG(FileOp *fop)
for (pass = 0; pass < number_passes; pass++) {
for (y = 0; y < height; y++) {
/* read the line */
png_read_row(png_ptr, row_pointer, png_bytepp_NULL);
png_read_row(png_ptr, row_pointer, (png_byte*)NULL);
/* RGB_ALPHA */
if (info_ptr->color_type == PNG_COLOR_TYPE_RGB_ALPHA) {