diff options
Diffstat (limited to 'base/gsicc_monitorcm.c')
-rw-r--r-- | base/gsicc_monitorcm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/gsicc_monitorcm.c b/base/gsicc_monitorcm.c index 0a1ef9a5..2e305e9d 100644 --- a/base/gsicc_monitorcm.c +++ b/base/gsicc_monitorcm.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2001-2019 Artifex Software, Inc. +/* Copyright (C) 2001-2020 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or @@ -264,7 +264,7 @@ gsicc_mcm_transform_general(gx_device *dev, gsicc_link_t *icclink, if (icclink->hashcode.des_hash == icclink->hashcode.src_hash) { if (num_bytes_in == num_bytes_out) { /* The easy case */ - memcpy(outputcolor, inputcolor, num_bytes_in * icclink->num_input); + memcpy(outputcolor, inputcolor, (size_t)num_bytes_in * icclink->num_input); } else { if (num_bytes_in == 2) { unsigned short *in_ptr = (unsigned short*) inputcolor; |