From c31e593b09b85bdd4ace6aa9452ce55ec7959392 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Mon, 20 May 2013 14:25:27 -0700 Subject: Windows Visual Studio 2008 warnings. --- src/aig/gia/giaTest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/aig/gia/giaTest.c') diff --git a/src/aig/gia/giaTest.c b/src/aig/gia/giaTest.c index 15f3c69b..c41e5013 100644 --- a/src/aig/gia/giaTest.c +++ b/src/aig/gia/giaTest.c @@ -825,7 +825,7 @@ static inline word Mpm_CutGetSign( Mpm_Cut_t * pCut ) int i; word uSign = 0; for ( i = 0; i < (int)pCut->nLeaves; i++ ) - uSign |= (1 << (Abc_Lit2Var(pCut->pLeaves[i]) & 0x3F)); + uSign |= ((word)1 << (Abc_Lit2Var(pCut->pLeaves[i]) & 0x3F)); return uSign; } static inline int Mpm_CutGetArrTime( Mpm_Man_t * p, Mpm_Cut_t * pCut ) @@ -869,7 +869,7 @@ static inline void Mpm_CutSetupInfo( Mpm_Man_t * p, Mpm_Cut_t * pCut, int ArrTim pInfo->mEdge += pLeaf->mEdge / pLeaf->nEstRefs; pInfo->mAveRefs += MPM_UNIT_EDGE * pLeaf->nMapRefs; } - pInfo->uSign |= (1 << Abc_Lit2Var(pCut->pLeaves[i])); + pInfo->uSign |= ((word)1 << Abc_Lit2Var(pCut->pLeaves[i])); } pInfo->mAveRefs /= pCut->nLeaves; } -- cgit v1.2.3