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-09-30 08:04:03 +01:00 committed by Tim Edwards
parent 14a1b21fb6
commit 2c8c60510b
1 changed files with 1 additions and 1 deletions

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;
}