summaryrefslogtreecommitdiffstats
path: root/src/misc/extra/extraUtilEnum.c
diff options
context:
space:
mode:
authorYen-Sheng Ho <ysho@berkeley.edu>2017-06-06 23:16:55 -0700
committerYen-Sheng Ho <ysho@berkeley.edu>2017-06-06 23:16:55 -0700
commit584e28e8f4f8beb70e577c38719f8e7b532123e1 (patch)
treed8a78ae811e2a1cd14f88518d574e90a58d0aed2 /src/misc/extra/extraUtilEnum.c
parent10f5e944c99626d5f8e68aa874e43462569cabf7 (diff)
parente140ef7e5a45b23823bdf1189070573439966ac8 (diff)
downloadabc-584e28e8f4f8beb70e577c38719f8e7b532123e1.tar.gz
abc-584e28e8f4f8beb70e577c38719f8e7b532123e1.tar.bz2
abc-584e28e8f4f8beb70e577c38719f8e7b532123e1.zip
merge
Diffstat (limited to 'src/misc/extra/extraUtilEnum.c')
-rw-r--r--src/misc/extra/extraUtilEnum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc/extra/extraUtilEnum.c b/src/misc/extra/extraUtilEnum.c
index 31364a16..84b0b089 100644
--- a/src/misc/extra/extraUtilEnum.c
+++ b/src/misc/extra/extraUtilEnum.c
@@ -298,8 +298,8 @@ void Abc_EnumPrint( Vec_Int_t * vGates, int i, int nVars )
SeeAlso []
***********************************************************************/
-static inline int Abc_DataHasBit( word * p, word i ) { return (p[(i)>>6] & (1<<((i) & 63))) > 0; }
-static inline void Abc_DataXorBit( word * p, word i ) { p[(i)>>6] ^= (1<<((i) & 63)); }
+static inline int Abc_DataHasBit( word * p, word i ) { return (p[(i)>>6] & (((word)1)<<((i) & 63))) > 0; }
+static inline void Abc_DataXorBit( word * p, word i ) { p[(i)>>6] ^= (((word)1)<<((i) & 63)); }
/**Function*************************************************************