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-10-01 12:36:13 -04:00
committed by Tim Edwards
co-authored by Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
parent 5ffc74d915
commit 40f96faff8
+1 -1
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)
{