diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2020-02-20 15:21:30 +0000 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2020-02-20 15:49:31 +0000 |
commit | c3c922510f0498d68d7a369f0ffd70379e3d5359 (patch) | |
tree | 87644d853b6b248c277e008381754f59dd425f89 /base/gxblend.c | |
parent | 713c776695f7a18cfd326e84fdef0b2911770609 (diff) | |
download | ghostpdl-c3c922510f0498d68d7a369f0ffd70379e3d5359.tar.gz |
Fix typing mistake in 16bit transparency.
When promoting from 8 to 16 bit, shape and src_alpha become
uint16_ts rather than bytes.
Diffstat (limited to 'base/gxblend.c')
-rw-r--r-- | base/gxblend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/gxblend.c b/base/gxblend.c index 3b816eeca..2319f0b49 100644 --- a/base/gxblend.c +++ b/base/gxblend.c @@ -5663,8 +5663,8 @@ do_mark_fill_rectangle16(gx_device * dev, int x, int y, int w, int h, bool overprint = pdev->op_state == PDF14_OP_STATE_FILL ? pdev->overprint : pdev->stroke_overprint; gx_color_index drawn_comps = pdev->op_state == PDF14_OP_STATE_FILL ? pdev->drawn_comps_fill : pdev->drawn_comps_stroke; - byte shape = 0; /* Quiet compiler. */ - byte src_alpha; + uint16_t shape = 0; /* Quiet compiler. */ + uint16_t src_alpha; int num_spots = buf->num_spots; int first_blend_spot = num_comp; pdf14_mark_fill_rect16_fn fn; |