diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2020-05-15 11:48:07 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2020-05-15 11:49:33 +0100 |
commit | 2f768243df42031a3f37f256678e34c1ac97fdde (patch) | |
tree | f7ba9563a9f78828a319d497d821c88675ce9e06 /base/gxipixel.c | |
parent | b380ebb41878645d0d7bb2b07155667acac4fa99 (diff) | |
download | ghostpdl-2f768243df42031a3f37f256678e34c1ac97fdde.tar.gz |
lgtm.com fixes: Multiplication of narrow type in wider context.
Diffstat (limited to 'base/gxipixel.c')
-rw-r--r-- | base/gxipixel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gxipixel.c b/base/gxipixel.c index 9206497d5..c60575770 100644 --- a/base/gxipixel.c +++ b/base/gxipixel.c @@ -1215,7 +1215,7 @@ image_init_color_cache(gx_image_enum * penum, int bps, int spp) to decode first. Then we can apply CM. Create a temp buffer in the source space and then transform it with one call */ temp_buffer = (byte*) gs_alloc_bytes(penum->memory, - num_entries * num_src_comp, + (size_t)num_entries * num_src_comp, "image_init_color_cache"); if (need_decode) { if (is_indexed) { |