summaryrefslogtreecommitdiff
path: root/graphics/crw/files/patch-crw.c
blob: c9c3a8a5aabc5307ef081e3bd81ebb871ac73e70 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- crw.c.orig	2002-07-23 01:17:37.000000000 +0200
+++ crw.c	2012-04-27 07:23:34.000000000 +0200
@@ -1394,7 +1394,7 @@
     png_destroy_write_struct(&png_ptr, (png_infopp)NULL);
     return;
   }
-  if (setjmp(png_ptr->jmpbuf)) {
+  if (setjmp(png_jmpbuf(png_ptr))) {
     png_destroy_write_struct(&png_ptr, &info_ptr);
     return;
   }