summaryrefslogtreecommitdiff
path: root/Build/source/libs/libpng/pngwutil.c
diff options
context:
space:
mode:
authorMartin Schröder <martin@oneiros.de>2007-01-05 14:13:59 +0000
committerMartin Schröder <martin@oneiros.de>2007-01-05 14:13:59 +0000
commit97707cda91a226aafbcb0e172b3e77500583cc28 (patch)
tree144b1a9efbdcb870021cdea37e2d4bcd8b83e819 /Build/source/libs/libpng/pngwutil.c
parent7f83d621a028015e39b6831decc8a3295866c5bc (diff)
libpng 1.2.15
git-svn-id: svn://tug.org/texlive/trunk@3155 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/libpng/pngwutil.c')
-rw-r--r--Build/source/libs/libpng/pngwutil.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/Build/source/libs/libpng/pngwutil.c b/Build/source/libs/libpng/pngwutil.c
index f7e72e36f4a..e108c61064e 100644
--- a/Build/source/libs/libpng/pngwutil.c
+++ b/Build/source/libs/libpng/pngwutil.c
@@ -1,9 +1,9 @@
/* pngwutil.c - utilities to write a PNG file
*
- * Last changed in libpng 1.2.13 November 13, 2006
+ * Last changed in libpng 1.2.15 January 5, 2007
* For conditions of distribution and use, see copyright notice in png.h
- * Copyright (c) 1998-2006 Glenn Randers-Pehrson
+ * Copyright (c) 1998-2007 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
*/
@@ -757,8 +757,11 @@ png_write_iCCP(png_structp png_ptr, png_charp name, int compression_type,
profile_len = 0;
if (profile_len > 3)
- embedded_profile_len = ((*(profile ))<<24) | ((*(profile+1))<<16) |
- ((*(profile+2))<< 8) | ((*(profile+3)) );
+ embedded_profile_len =
+ ((*( (png_bytep)profile ))<<24) |
+ ((*( (png_bytep)profile+1))<<16) |
+ ((*( (png_bytep)profile+2))<< 8) |
+ ((*( (png_bytep)profile+3)) );
if (profile_len < embedded_profile_len)
{