diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2022-02-16 18:50:56 +0000 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2022-02-17 11:26:05 +0000 |
commit | 5ded6a37e4342b226bbf00338ee43836a2d18abd (patch) | |
tree | 259ef0c0a827858cd9090358d67da60b711d800b /base/gximage3.c | |
parent | 36a8420ecaf3acff28658e6826401d81fa4f36fd (diff) | |
download | ghostpdl-5ded6a37e4342b226bbf00338ee43836a2d18abd.tar.gz |
Fix some coverity issues.
Diffstat (limited to 'base/gximage3.c')
-rw-r--r-- | base/gximage3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/gximage3.c b/base/gximage3.c index 8e39d7b1a..6d4e4e1dd 100644 --- a/base/gximage3.c +++ b/base/gximage3.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2001-2021 Artifex Software, Inc. +/* Copyright (C) 2001-2022 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or @@ -146,8 +146,8 @@ make_mcde_default(gx_device *dev, const gs_gstate *pgs, return_error(gs_error_VMerror); bits.data = mdev->base; bits.raster = mdev->raster; - bits.size.x = mdev->width; - bits.size.y = mdev->height; + bits.size.x = bits.rep_width = mdev->width; + bits.size.y = bits.rep_height = mdev->height; bits.id = gx_no_bitmap_id; bits.num_planes = 1; code = gx_mask_clip_initialize(mcdev, &gs_mask_clip_device, |