summaryrefslogtreecommitdiffstats
path: root/src/sat/cnf
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2013-01-30 16:15:53 +0700
committerAlan Mishchenko <alanmi@berkeley.edu>2013-01-30 16:15:53 +0700
commit7e598cd23144ea2997a272384fb5d1788bd4b0fd (patch)
tree624b748428bd929aac84c8780890a380883f1567 /src/sat/cnf
parentaaacf57304b74b37617fcd669f1c1314afebc913 (diff)
downloadabc-7e598cd23144ea2997a272384fb5d1788bd4b0fd.tar.gz
abc-7e598cd23144ea2997a272384fb5d1788bd4b0fd.tar.bz2
abc-7e598cd23144ea2997a272384fb5d1788bd4b0fd.zip
Fixing compilation problems on Linux-32 related to constants of type unsigned long long.
Diffstat (limited to 'src/sat/cnf')
-rw-r--r--src/sat/cnf/cnfFast.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sat/cnf/cnfFast.c b/src/sat/cnf/cnfFast.c
index 8dc9a7e3..9e436367 100644
--- a/src/sat/cnf/cnfFast.c
+++ b/src/sat/cnf/cnfFast.c
@@ -138,12 +138,12 @@ void Cnf_CollectVolume( Aig_Man_t * p, Aig_Obj_t * pRoot, Vec_Ptr_t * vLeaves, V
word Cnf_CutDeriveTruth( Aig_Man_t * p, Vec_Ptr_t * vLeaves, Vec_Ptr_t * vNodes )
{
static word Truth6[6] = {
- 0xAAAAAAAAAAAAAAAA,
- 0xCCCCCCCCCCCCCCCC,
- 0xF0F0F0F0F0F0F0F0,
- 0xFF00FF00FF00FF00,
- 0xFFFF0000FFFF0000,
- 0xFFFFFFFF00000000
+ ABC_CONST(0xAAAAAAAAAAAAAAAA),
+ ABC_CONST(0xCCCCCCCCCCCCCCCC),
+ ABC_CONST(0xF0F0F0F0F0F0F0F0),
+ ABC_CONST(0xFF00FF00FF00FF00),
+ ABC_CONST(0xFFFF0000FFFF0000),
+ ABC_CONST(0xFFFFFFFF00000000)
};
static word C[2] = { 0, ~(word)0 };
static word S[256];