summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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. */