]>
Commit | Line | Data |
---|---|---|
2e61536a | 1 | --- plugins/shapewipe/shapewipe.C.orig 2012-09-21 19:50:49.184736513 +0100 |
2 | +++ plugins/shapewipe/shapewipe.C 2012-09-21 19:51:20.498072776 +0100 | |
3 | @@ -467,7 +467,7 @@ | |
4 | } | |
5 | ||
6 | png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, | |
7 | - png_voidp_NULL, png_error_ptr_NULL, png_error_ptr_NULL); | |
8 | + NULL, NULL, NULL); | |
9 | ||
10 | if (!png_ptr) | |
11 | { | |
12 | @@ -480,14 +480,14 @@ | |
13 | info_ptr = png_create_info_struct(png_ptr); | |
14 | if (!info_ptr) | |
15 | { | |
16 | - png_destroy_read_struct(&png_ptr, png_infopp_NULL, png_infopp_NULL); | |
17 | + png_destroy_read_struct(&png_ptr, NULL, NULL); | |
18 | return 1; | |
19 | } | |
20 | ||
21 | end_info = png_create_info_struct(png_ptr); | |
22 | if (!end_info) | |
23 | { | |
24 | - png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); | |
25 | + png_destroy_read_struct(&png_ptr, &info_ptr, NULL); | |
26 | return 1; | |
27 | } | |
28 |