png: Do not output warnings as errors

This commit is contained in:
Rémi Verschelde 2016-06-23 08:23:45 +02:00
parent 0f54ab93bc
commit 9bf3ee7acc
1 changed files with 1 additions and 1 deletions

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) { 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)); typedef void (PNGAPI *png_error_ptr) PNGARG((png_structp, png_const_charp));