Fixing C++ compilation issues.

This commit is contained in:
Alan Mishchenko 2013-01-08 13:17:15 +08:00
parent 81a1d97079
commit 08a9f58aba
1 changed files with 1 additions and 1 deletions

View File

@ -514,7 +514,7 @@ Aig_Obj_t * Dar_Balance_rec( Aig_Man_t * pNew, Aig_Obj_t * pObjOld, Vec_Vec_t *
if ( vSuper->nSize == 0 )
return (Aig_Obj_t *)(pObjOld->pData = Aig_ManConst0(pNew));
if ( vSuper->nSize == 1 )
return ((Aig_Obj_t *)Vec_PtrEntry(vSuper, 0))->pData;
return (Aig_Obj_t *)((Aig_Obj_t *)Vec_PtrEntry(vSuper, 0))->pData;
if ( Vec_PtrSize(vSuper) < 2 )
printf( "Dar_Balance_rec: Internal error!\n" );
// for each old node, derive the new well-balanced node