plot/plotPNM.c: Multiplication result converted to larger type
Fix code scanning alert no. 55: Multiplication result converted to larger type (#47) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
parent
5ffc74d915
commit
40f96faff8
|
|
@ -877,7 +877,7 @@ PlotPNM(fileName, scx, layers, xMask, width)
|
|||
/* Clear tile memory with the background gray level */
|
||||
|
||||
memset((void *)rtile, PlotPNMBG,
|
||||
(size_t)(ds_xsize * ds_ysize * PIXELSZ));
|
||||
(size_t)ds_xsize * ds_ysize * PIXELSZ);
|
||||
|
||||
if (SigInterruptPending)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue