mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 01:43:00 +02:00
gcc11 -Wall -Wpedantic cleanup (post __attribute__ DLONG_PREFIX)
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user