diff --git a/plot/plotPNM.c b/plot/plotPNM.c index 4e2a29a4..6d6cdf59 100644 --- a/plot/plotPNM.c +++ b/plot/plotPNM.c @@ -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) {