--- cnijfilter-common-3.00.org/cnijfilter/src/bjfimage.c 2008-09-01 10:07:35.000000000 +0100 +++ cnijfilter-common-3.00/cnijfilter/src/bjfimage.c 2012-05-17 13:40:44.229505598 +0100 @@ -1575,7 +1575,7 @@ goto onErr; } - if (setjmp (png_p->jmpbuf)) + if (setjmp (png_jmpbuf (png_p))) { png_destroy_read_struct(&png_p, &info_p, (png_infopp)NULL); goto onErr; @@ -1586,7 +1586,7 @@ png_read_info( png_p, info_p ); - png_get_IHDR( png_p, info_p, &width, &length, &bit_depth, + png_get_IHDR( png_p, info_p, (png_uint_32 *)&width, (png_uint_32 *)&length, &bit_depth, &color_type, &interlace_type, NULL, NULL); /* not support Interlace */