1 diff -ru libicns-0.7.1/icnsutils/png2icns.c libicns-0.7.1_changed/icnsutils/png2icns.c
2 --- libicns-0.7.1/icnsutils/png2icns.c 2009-05-11 08:17:16.000000000 +0200
3 +++ libicns-0.7.1_changed/icnsutils/png2icns.c 2010-10-24 16:10:30.686666714 +0200
7 case PNG_COLOR_TYPE_GRAY:
8 - png_set_gray_1_2_4_to_8(png_ptr);
9 + png_set_expand_gray_1_2_4_to_8(png_ptr);
11 if (bit_depth == 16) {
12 png_set_strip_16(png_ptr);
16 case PNG_COLOR_TYPE_GRAY_ALPHA:
17 - png_set_gray_1_2_4_to_8(png_ptr);
18 + png_set_expand_gray_1_2_4_to_8(png_ptr);
20 if (bit_depth == 16) {
21 png_set_strip_16(png_ptr);