summaryrefslogtreecommitdiff
path: root/base/gxclipm.c
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2020-05-15 11:48:07 +0100
committerRobin Watts <Robin.Watts@artifex.com>2020-05-15 11:49:33 +0100
commit2f768243df42031a3f37f256678e34c1ac97fdde (patch)
treef7ba9563a9f78828a319d497d821c88675ce9e06 /base/gxclipm.c
parentb380ebb41878645d0d7bb2b07155667acac4fa99 (diff)
downloadghostpdl-2f768243df42031a3f37f256678e34c1ac97fdde.tar.gz
lgtm.com fixes: Multiplication of narrow type in wider context.
Diffstat (limited to 'base/gxclipm.c')
-rw-r--r--base/gxclipm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gxclipm.c b/base/gxclipm.c
index 63e2bd2c0..ec02ba9a8 100644
--- a/base/gxclipm.c
+++ b/base/gxclipm.c
@@ -241,7 +241,7 @@ mask_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. */