summaryrefslogtreecommitdiff
path: root/drivers/png/image_loader_png.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-06-23 08:23:45 +0200
committerRémi Verschelde <rverschelde@gmail.com>2016-06-23 08:23:45 +0200
commit9bf3ee7acc144713d8e55d42f29ec0ea6fef7301 (patch)
treefcc902620bcda9ed9081a18f75e8f5ef29be9e00 /drivers/png/image_loader_png.cpp
parent0f54ab93bc25dc5164c678dc8cb653fdfe8a4f16 (diff)
png: Do not output warnings as errors
Diffstat (limited to 'drivers/png/image_loader_png.cpp')
-rw-r--r--drivers/png/image_loader_png.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/png/image_loader_png.cpp b/drivers/png/image_loader_png.cpp
index 6134370c5f..e10ac7493f 100644
--- a/drivers/png/image_loader_png.cpp
+++ b/drivers/png/image_loader_png.cpp
@@ -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));