[Pkg-mono-svn-commits] [libgdiplus] 11/12: Fix pngcodec.c which wasn't committed properly to Debian
Jo Shields
directhex at moszumanska.debian.org
Wed Aug 27 18:13:28 UTC 2014
This is an automated email from the git hooks/post-receive script.
directhex pushed a commit to annotated tag debian/3.6-1
in repository libgdiplus.
commit 1d6f7b0e995cd89453eb0e72741cbb850ba2ad06
Author: Jo Shields <jo.shields at xamarin.com>
Date: Wed Aug 27 19:05:09 2014 +0100
Fix pngcodec.c which wasn't committed properly to Debian
---
src/pngcodec.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/pngcodec.c b/src/pngcodec.c
index 7a2020d..6cf9fd3 100644
--- a/src/pngcodec.c
+++ b/src/pngcodec.c
@@ -136,7 +136,7 @@ gdip_load_png_properties (png_structp png_ptr, png_infop info_ptr, png_infop end
#if defined(PNG_iCCP_SUPPORTED)
{
png_charp name;
- png_bytep profile;
+ png_charp profile;
png_uint_32 proflen;
int compression_type;
@@ -329,7 +329,6 @@ gdip_load_png_image_from_file_or_stream (FILE *fp, GetBytesDelegate getBytesFunc
/* Copy the palette data into the GDI+ structure. */
colourspace_flag = ImageFlagsColorSpaceRGB;
- png_get_PLTE( png_ptr, info_ptr, &png_palette, &num_palette );
palette_entries = num_colours;
if (palette_entries > num_palette) {
palette_entries = num_palette;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mono/packages/libgdiplus.git
More information about the Pkg-mono-svn-commits
mailing list