extract/ExtHier.c: Wrong type of arguments to formatting function

Fix code scanning alert no. 159: Wrong type of arguments to formatting function (#66)

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:03:22 +01:00 committed by Tim Edwards
parent 4dc708aea2
commit 14a1b21fb6
1 changed files with 1 additions and 1 deletions

View File

@ -854,7 +854,7 @@ extOutputConns(table, outf)
fprintf(outf, "merge \"%s\" \"%s\" %lg",
nn->nn_name, nnext->nn_name, c);
for (n = 0; n < ExtCurStyle->exts_numResistClasses; n++)
fprintf(outf, " %ld %ld",
fprintf(outf, " %ld %d",
node->node_pa[n].pa_area,
node->node_pa[n].pa_perim);
fprintf(outf, "\n");