updated on Wed Jan 11 12:00:27 UTC 2012
[aur-mirror.git] / thunderbird2 / libpng.patch
blobcb50a11c84fdac7afd617e96532cd603c34810e1
1 --- mozilla/modules/libpr0n/encoders/png/nsPNGEncoder-orig.cpp 2010-02-04 14:03:47.000000000 +0300
2 +++ mozilla/modules/libpr0n/encoders/png/nsPNGEncoder.cpp 2010-02-04 14:04:18.000000000 +0300
3 @@ -111,9 +111,9 @@
5 // initialize
6 png_struct* png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING,
7 - png_voidp_NULL,
8 - png_error_ptr_NULL,
9 - png_error_ptr_NULL);
10 + NULL,
11 + NULL,
12 + NULL);
13 if (! png_ptr)
14 return NS_ERROR_OUT_OF_MEMORY;
15 png_info* info_ptr = png_create_info_struct(png_ptr);