diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2011-12-06 16:06:59 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2011-12-06 16:06:59 -0800 |
commit | e84dcb78622008a64a230a6edb57f6dd167b46a9 (patch) | |
tree | a633ae61719a6b1a41bc6f6f4df37621e4d016f4 /src/sat/bsat | |
parent | ef37d14bc61db876e2fae2569a2c12cf96959051 (diff) | |
download | abc-e84dcb78622008a64a230a6edb57f6dd167b46a9.tar.gz abc-e84dcb78622008a64a230a6edb57f6dd167b46a9.tar.bz2 abc-e84dcb78622008a64a230a6edb57f6dd167b46a9.zip |
g++ portability changes.
Diffstat (limited to 'src/sat/bsat')
-rw-r--r-- | src/sat/bsat/satProof.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sat/bsat/satProof.c b/src/sat/bsat/satProof.c index 1355605a..8fa17e94 100644 --- a/src/sat/bsat/satProof.c +++ b/src/sat/bsat/satProof.c @@ -459,9 +459,9 @@ Vec_Int_t * Sat_ProofCore( Vec_Int_t * vProof, int nRoots, Vec_Int_t * vRoots ) { pNode->Id = 0; for ( pBeg = pNode->pEnts; pBeg < pNode->pEnts + pNode->nEnts; pBeg++ ) - if ( (*pBeg & 1) && !Aig_InfoHasBit(pBeg, *pBeg>>1) ) + if ( (*pBeg & 1) && !Aig_InfoHasBit((unsigned *)pBeg, *pBeg>>1) ) { - Aig_InfoSetBit( pBeg, *pBeg>>1 ); + Aig_InfoSetBit( (unsigned *)pBeg, *pBeg>>1 ); Vec_IntPush( vCore, (*pBeg>>1)-1 ); } } |