cog: Use "(png_infopp) NULL" instead of png_infopp_NULL
This commit is contained in:
parent
e44da2ded0
commit
20c1e3b605
@ -408,7 +408,7 @@ cog_frame_new_from_png (void *data, int size)
|
||||
png_read_image (png_ptr, rows);
|
||||
g_free (rows);
|
||||
|
||||
png_destroy_read_struct (&png_ptr, &info_ptr, png_infopp_NULL);
|
||||
png_destroy_read_struct (&png_ptr, &info_ptr, (png_infopp) NULL);
|
||||
|
||||
return frame;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user