updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / nux-bzr / png_fix_for_nux.patch
blob722df3edd949c1febb328c3ec5bc45dc5cec7044
1 === modified file 'NuxImage/NPng.cpp'
2 --- NuxImage/NPng.cpp 2010-12-06 06:09:44 +0000
3 +++ NuxImage/NPng.cpp 2010-12-09 20:41:42 +0000
4 @@ -253,7 +253,7 @@
5 png_read_info (png_ptr, info_ptr);
7 // get width, height, bit-depth and color-type
8 - unsigned long width, height;
9 + png_uint_32 width, height;
10 png_get_IHDR (png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, 0, 0, 0);
12 // expand images of all color-type and bit-depth to 3x8 bit RGB images
13 @@ -463,7 +463,7 @@
14 png_read_info (png_ptr, info_ptr);
16 // get width, height, bit-depth and color-type
17 - unsigned long w, h;
18 + png_uint_32 w, h;
19 png_get_IHDR (png_ptr, info_ptr, &w, &h, &bit_depth, &color_type, 0, 0, 0);
21 // expand images of all color-type and bit-depth to 3x8 bit RGB images