png: Do not output warnings as errors

(cherry picked from commit 9bf3ee7acc)
This commit is contained in:
Rémi Verschelde 2016-06-23 08:23:45 +02:00
parent 5907bddda5
commit 4e1dcd3d0b

View file

@ -62,7 +62,7 @@ static void _png_error_function(png_structp, png_const_charp text) {
static void _png_warn_function(png_structp, png_const_charp text) {
ERR_PRINT(text);
WARN_PRINT(text);
}
typedef void (PNGAPI *png_error_ptr) PNGARG((png_structp, png_const_charp));