summaryrefslogtreecommitdiff
path: root/jpeg/jutils.c
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2021-02-25 15:27:01 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2021-02-25 16:59:36 +0100
commit52e16fb1be7929072c09e2fd989cd92246ae7b54 (patch)
treeb76ac674ff0c292da276846523648a5ee64d6515 /jpeg/jutils.c
parent5bd467fa17be55397f433dddc065b57cbb7a0615 (diff)
Update bundled libs to current versions
- update README.bundled-libs.txt + some comments - update bundled jpeg lib from version 9c to 9d All bundled libs are now up-to-date. For current update status please see README.bundled-libs.txt.
Diffstat (limited to 'jpeg/jutils.c')
-rw-r--r--jpeg/jutils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/jpeg/jutils.c b/jpeg/jutils.c
index 5b16b6d03..1e2dfb017 100644
--- a/jpeg/jutils.c
+++ b/jpeg/jutils.c
@@ -2,7 +2,7 @@
* jutils.c
*
* Copyright (C) 1991-1996, Thomas G. Lane.
- * Modified 2009-2011 by Guido Vollbeding.
+ * Modified 2009-2019 by Guido Vollbeding.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
@@ -185,7 +185,7 @@ jcopy_sample_rows (JSAMPARRAY input_array, int source_row,
{
register JSAMPROW inptr, outptr;
#ifdef FMEMCOPY
- register size_t count = (size_t) (num_cols * SIZEOF(JSAMPLE));
+ register size_t count = (size_t) num_cols * SIZEOF(JSAMPLE);
#else
register JDIMENSION count;
#endif
@@ -213,7 +213,7 @@ jcopy_block_row (JBLOCKROW input_row, JBLOCKROW output_row,
/* Copy a row of coefficient blocks from one place to another. */
{
#ifdef FMEMCOPY
- FMEMCOPY(output_row, input_row, num_blocks * (DCTSIZE2 * SIZEOF(JCOEF)));
+ FMEMCOPY(output_row, input_row, (size_t) num_blocks * (DCTSIZE2 * SIZEOF(JCOEF)));
#else
register JCOEFPTR inptr, outptr;
register long count;