diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2013-01-30 16:15:53 +0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2013-01-30 16:15:53 +0700 |
commit | 7e598cd23144ea2997a272384fb5d1788bd4b0fd (patch) | |
tree | 624b748428bd929aac84c8780890a380883f1567 /src/opt | |
parent | aaacf57304b74b37617fcd669f1c1314afebc913 (diff) | |
download | abc-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/opt')
-rw-r--r-- | src/opt/dau/dauCanon.c | 10 | ||||
-rw-r--r-- | src/opt/dau/dauDsd.c | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/opt/dau/dauCanon.c b/src/opt/dau/dauCanon.c index 34387e4d..d37c44b1 100644 --- a/src/opt/dau/dauCanon.c +++ b/src/opt/dau/dauCanon.c @@ -28,11 +28,11 @@ ABC_NAMESPACE_IMPL_START //////////////////////////////////////////////////////////////////////// static word s_CMasks6[5] = { - 0x1111111111111111, - 0x0303030303030303, - 0x000F000F000F000F, - 0x000000FF000000FF, - 0x000000000000FFFF + ABC_CONST(0x1111111111111111), + ABC_CONST(0x0303030303030303), + ABC_CONST(0x000F000F000F000F), + ABC_CONST(0x000000FF000000FF), + ABC_CONST(0x000000000000FFFF) }; //////////////////////////////////////////////////////////////////////// diff --git a/src/opt/dau/dauDsd.c b/src/opt/dau/dauDsd.c index d9401895..a6597d98 100644 --- a/src/opt/dau/dauDsd.c +++ b/src/opt/dau/dauDsd.c @@ -868,7 +868,7 @@ void Dau_DsdTest3() // word t = 0xF3F5030503050305; // word t = (s_Truths6[0] & s_Truths6[1] & (s_Truths6[2] ^ s_Truths6[4])) | (~s_Truths6[0] & ~s_Truths6[1] & ~(s_Truths6[2] ^ s_Truths6[4])); // word t = 0x05050500f5f5f5f3; - word t = 0x9ef7a8d9c7193a0f; + word t = ABC_CONST(0x9ef7a8d9c7193a0f); char * p = Dau_DsdPerform( t ); word t2 = Dau_Dsd6ToTruth( p ); if ( t != t2 ) |