From e84dcb78622008a64a230a6edb57f6dd167b46a9 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Tue, 6 Dec 2011 16:06:59 -0800 Subject: g++ portability changes. --- src/sat/bsat/satProof.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sat/bsat/satProof.c') 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 ); } } -- cgit v1.2.3