summaryrefslogtreecommitdiff
path: root/pngrutil.c
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@acm.org>2013-03-10 21:35:35 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2013-03-10 21:35:35 -0500
commit2286a7cef4663e8c645ad9a9b4f303e0df654ea8 (patch)
tree792a5cda555df7aa49ad099050db047387c8a2ef /pngrutil.c
parent3c8b422b0a85067b41f6e5bb19c1dcdbdf41ae8e (diff)
downloadlibpng-2286a7cef4663e8c645ad9a9b4f303e0df654ea8.tar.gz
[libpng16] Eliminated a warning from the Intel C compiler. The warning is
technically valid, although a reasonable treatment of division would show it to be incorrect.
Diffstat (limited to 'pngrutil.c')
-rw-r--r--pngrutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pngrutil.c b/pngrutil.c
index c7f4abf26..d29be223d 100644
--- a/pngrutil.c
+++ b/pngrutil.c
@@ -3355,7 +3355,7 @@ png_combine_row(png_const_structrp png_ptr, png_bytep dp, int display)
png_uint_32p dp32 = png_aligncast(png_uint_32p,dp);
png_const_uint_32p sp32 = png_aligncastconst(
png_const_uint_32p, sp);
- unsigned int skip = (bytes_to_jump-bytes_to_copy) /
+ size_t skip = (bytes_to_jump-bytes_to_copy) /
(sizeof (png_uint_32));
do