diff options
Diffstat (limited to 'image')
-rw-r--r-- | image/png.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/image/png.c b/image/png.c index 57cd50146..79ab248dc 100644 --- a/image/png.c +++ b/image/png.c @@ -88,7 +88,7 @@ static void nspng_warning(png_structp png_ptr, png_const_charp warning_message) static void nspng_error(png_structp png_ptr, png_const_charp error_message) { LOG(("%s", error_message)); - longjmp(png_ptr->jmpbuf, 1); + longjmp(png_jmpbuf(png_ptr), 1); } /** |