summaryrefslogtreecommitdiff
blob: d606c14cd4e259fe5fb8d9f67337a3be6c68041e (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/common/gr_texture.c	2011-09-14 14:23:46.820207882 +0200
+++ b/common/gr_texture.c	2011-09-14 14:24:22.861203604 +0200
@@ -431,7 +431,7 @@
   if (!info_ptr) {
     goto ERROR;
   }
-  if (setjmp (png_ptr->jmpbuf)) {
+  if (setjmp (png_jmpbuf(png_ptr))) {
     goto ERROR;
   }
   png_init_io (png_ptr, file);