gcc11 -Wall -Wpedantic cleanup (post __attribute__ DLONG_PREFIX)

This commit is contained in:
Darryl L. Miles 2025-01-06 16:27:10 +00:00
parent 6afadf9809
commit 065f31f689
2 changed files with 2 additions and 2 deletions

View File

@ -1155,7 +1155,7 @@ CmdBox(
boxptr->r_xbot, boxptr->r_ybot,
boxptr->r_xtop, boxptr->r_ytop);
if (area > 0)
TxPrintf(" %-10lld", area);
TxPrintf(" %-10"DLONG_PREFIX"d", area);
TxPrintf("\n");
break;

View File

@ -2013,7 +2013,7 @@ mzDumpEstFunc(tile, fd)
for(e=tilec->tc_estimates; e!=NULL; e=e->e_next)
{
TxPrintf("\t\t%lld + ABS(x - %d)*%d + ABS(y - %d)*%d\n",
TxPrintf("\t\t%"DLONG_PREFIX"d + ABS(x - %d)*%d + ABS(y - %d)*%d\n",
e->e_cost0,e->e_x0,e->e_hCost,
e->e_y0,e->e_vCost);
}