mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-29 01:24:51 +02:00
plot/plotRutils.c: Multiplication result converted to larger type
Fix code scanning alert no. 56: Multiplication result converted to larger type (#67) 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
14a1b21fb6
commit
2c8c60510b
+1
-1
@@ -231,7 +231,7 @@ PlotClearRaster(raster, area)
|
||||
if (area == NULL)
|
||||
{
|
||||
bzero((char *) raster->ras_bits,
|
||||
raster->ras_bytesPerLine * raster->ras_height);
|
||||
(size_t)raster->ras_bytesPerLine * raster->ras_height);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user