summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-09-10 18:10:49 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-09-11 20:06:36 +0200
commitacfc02c1747065fe450c7cfeb6f1844b62335f08 (patch)
tree5887806a2e6b99bbb0255e013a9028810e230a7f /base/gxclip2.c
parentImport Ghostscript 9.52 (diff)
downloadghostscript-gpl-patches-acfc02c1747065fe450c7cfeb6f1844b62335f08.tar.gz
ghostscript-gpl-patches-acfc02c1747065fe450c7cfeb6f1844b62335f08.tar.bz2
ghostscript-gpl-patches-acfc02c1747065fe450c7cfeb6f1844b62335f08.zip
Import Ghostscript 9.53ghostscript-9.53
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'base/gxclip2.c')
-rw-r--r--base/gxclip2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/gxclip2.c b/base/gxclip2.c
index 187f7d06..1b4d1558 100644
--- a/base/gxclip2.c
+++ b/base/gxclip2.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
@@ -230,7 +230,7 @@ tile_clip_copy_mono(gx_device * dev,
/* Copy a tile slice to the memory device buffer. */
memcpy(cdev->buffer.bytes,
cdev->tiles.data + cy * cdev->tiles.raster,
- cdev->tiles.raster * ny);
+ (size_t)cdev->tiles.raster * ny);
/* Intersect the tile with the source data. */
/* mcolor0 and mcolor1 invert the data if needed. */
/* This call can't fail. */