CalmaRdpt.c: -Wall -O3 snprintf("polygon%5d")

Finds this a problem still.

GCC11 -Wall -Wpedantic -O3
This commit is contained in:
Darryl L. Miles 2025-02-19 10:25:57 +00:00 committed by R. Timothy Edwards
parent 046401cbd8
commit 5d8cfdc760
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ calmaElementBoundary(void)
if ((CalmaSubcellPolygons != CALMA_POLYGON_NONE) && (calmaNonManhattan > 0))
{
/* Place the polygon in its own subcell */
char newname[16];
char newname[20];
HashEntry *he;
savedef = cifReadCellDef;