aboutsummaryrefslogtreecommitdiffstats
path: root/main/slim/slim-png15.patch
blob: 25caaed5768d4c3bbdbadc531fc8c04ce9b8f7f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- slim-1.3.2.orig/png.c
+++ slim-1.3.2/png.c
@@ -57,7 +57,7 @@
         return(0);
     }
   
-    if (setjmp(png_ptr->jmpbuf))
+    if (setjmp(png_jmpbuf(png_ptr)))
     {
         png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp) NULL);
         fclose(infile);