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:
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 14a1b21fb6
commit 2c8c60510b
+1 -1
View File
@@ -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;
}