diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-09-10 18:10:49 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-09-11 20:06:36 +0200 |
commit | acfc02c1747065fe450c7cfeb6f1844b62335f08 (patch) | |
tree | 5887806a2e6b99bbb0255e013a9028810e230a7f /base/claptrap-init.c | |
parent | Import Ghostscript 9.52 (diff) | |
download | ghostscript-gpl-patches-acfc02c1747065fe450c7cfeb6f1844b62335f08.tar.gz ghostscript-gpl-patches-acfc02c1747065fe450c7cfeb6f1844b62335f08.tar.bz2 ghostscript-gpl-patches-acfc02c1747065fe450c7cfeb6f1844b62335f08.zip |
Import Ghostscript 9.53ghostscript-9.53
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'base/claptrap-init.c')
-rw-r--r-- | base/claptrap-init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/claptrap-init.c b/base/claptrap-init.c index f32e2712..3e20d3ed 100644 --- a/base/claptrap-init.c +++ b/base/claptrap-init.c @@ -45,8 +45,8 @@ ClapTrap *ClapTrap_Init(gs_memory_t *mem, ct->y = 0; ct->span = width * num_comps; - ct->linebuf = gs_alloc_bytes(mem, ct->span * ct->lines_in_buf, "ClapTrap linebuf"); - ct->process = gs_alloc_bytes(mem, ct->width * ct->lines_in_buf, "ClapTrap process"); + ct->linebuf = gs_alloc_bytes(mem, (size_t)ct->span * ct->lines_in_buf, "ClapTrap linebuf"); + ct->process = gs_alloc_bytes(mem, (size_t)ct->width * ct->lines_in_buf, "ClapTrap process"); if (ct->linebuf == NULL || ct->process == NULL) { gs_free_object(mem, ct->linebuf, "ClapTrap linebuf"); |