Commit 797aeee5 by Alan Mishchenko

Updating canonical form computation procedures (compiler warnings).

parent 3d238a96
...@@ -908,7 +908,7 @@ void Pf_ManPrintStats( Pf_Man_t * p, char * pTitle ) ...@@ -908,7 +908,7 @@ void Pf_ManPrintStats( Pf_Man_t * p, char * pTitle )
if ( !p->pPars->fVerbose ) if ( !p->pPars->fVerbose )
return; return;
printf( "%s : ", pTitle ); printf( "%s : ", pTitle );
printf( "Delay =%8.2f ", p->pPars->MapDelay ); printf( "Delay =%8.2f ", (float)p->pPars->MapDelay );
printf( "Area =%12.2f ", p->pPars->MapArea ); printf( "Area =%12.2f ", p->pPars->MapArea );
printf( "Gate =%6d ", (int)p->pPars->Area ); printf( "Gate =%6d ", (int)p->pPars->Area );
printf( "Inv =%6d ", (int)p->nInvs ); printf( "Inv =%6d ", (int)p->nInvs );
......
...@@ -2381,7 +2381,7 @@ static void Abc_TgReorderFGrps(Abc_TgMan_t * pMan) ...@@ -2381,7 +2381,7 @@ static void Abc_TgReorderFGrps(Abc_TgMan_t * pMan)
for (i = 0; i < n; i++) for (i = 0; i < n; i++)
{ {
char iv = pMan->pPerm[i]; char iv = pMan->pPerm[i];
for (j = i; j > 0 && pMan->symPhase[(int)pFGrps[j - 1]] > pMan->symPhase[iv]; j--) for (j = i; j > 0 && pMan->symPhase[(int)pFGrps[j - 1]] > pMan->symPhase[(int)iv]; j--)
pFGrps[j] = pFGrps[j - 1]; pFGrps[j] = pFGrps[j - 1];
pFGrps[j] = iv; pFGrps[j] = iv;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment