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:
Darryl Miles 2024-09-30 07:15:06 +01:00 committed by Tim Edwards
parent 5ffc74d915
commit 40f96faff8
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{