summaryrefslogtreecommitdiff
path: root/Build/source/libs/libpng/libpng-src/pngget.c
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-10-20 06:03:07 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-10-20 06:03:07 +0000
commit34250b2e3ede4213a43893839b8dd083619df232 (patch)
tree495e2318579c57b5d56364b635177ba3e1f6a8df /Build/source/libs/libpng/libpng-src/pngget.c
parentf2301b10f959f2fd3dde3223e6bd50c7ae1ee09a (diff)
libpng 1.6.26
git-svn-id: svn://tug.org/texlive/trunk@42309 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/libpng/libpng-src/pngget.c')
-rw-r--r--Build/source/libs/libpng/libpng-src/pngget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/libs/libpng/libpng-src/pngget.c b/Build/source/libs/libpng/libpng-src/pngget.c
index b3c6863f409..141c393330c 100644
--- a/Build/source/libs/libpng/libpng-src/pngget.c
+++ b/Build/source/libs/libpng/libpng-src/pngget.c
@@ -1,7 +1,7 @@
/* pngget.c - retrieval of values from info struct
*
- * Last changed in libpng 1.6.24 [August 4, 2016]
+ * Last changed in libpng 1.6.26 [October 20, 2016]
* Copyright (c) 1998-2002,2004,2006-2016 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.)
@@ -338,7 +338,7 @@ ppi_from_ppm(png_uint_32 ppm)
png_fixed_point result;
if (ppm <= PNG_UINT_31_MAX && png_muldiv(&result, (png_int_32)ppm, 127,
5000) != 0)
- return result;
+ return (png_uint_32)result;
/* Overflow. */
return 0;