mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-28 17:15:13 +02:00
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:
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
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user