summaryrefslogtreecommitdiff
blob: 675df24801dc5d046705433da9fdf445cb372f22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
http://bugs.gentoo.org/388255

--- source/savepng.c
+++ source/savepng.c
@@ -203,7 +203,7 @@
 	goto Error;
 
     /* Set error handling. */
-    if (setjmp(png_ptr->jmpbuf)) {
+    if (setjmp(png_jmpbuf(png_ptr))) {
 	/* If we get here, we had a problem reading the file. */
 	goto Error;
     }