png: Do not output warnings as errors
(cherry picked from commit 9bf3ee7acc
)
This commit is contained in:
parent
5907bddda5
commit
4e1dcd3d0b
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue