diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2014-10-10 09:41:07 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2014-10-10 09:41:07 -0700 |
commit | 5cf92f32a5da522c9c9d1810a503795f259eb59e (patch) | |
tree | b245aaf27128e83ceacdddbb2689eb355e9d1392 /src | |
parent | ccb5bb34d73f34461abe180f36b3c2b9e45cc933 (diff) | |
download | abc-5cf92f32a5da522c9c9d1810a503795f259eb59e.tar.gz abc-5cf92f32a5da522c9c9d1810a503795f259eb59e.tar.bz2 abc-5cf92f32a5da522c9c9d1810a503795f259eb59e.zip |
Correction to the patch to compile with Visual Studio.
Diffstat (limited to 'src')
-rw-r--r-- | src/aig/gia/giaEra2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aig/gia/giaEra2.c b/src/aig/gia/giaEra2.c index 9a9547b4..a6165573 100644 --- a/src/aig/gia/giaEra2.c +++ b/src/aig/gia/giaEra2.c @@ -126,7 +126,7 @@ struct Gia_ManAre_t_ }; static inline Gia_PtrAre_t Gia_Int2Ptr( unsigned n ) { Gia_PtrAreInt_t g; g.iInt = n; return g.iGia; } -static inline unsigned Gia_Ptr2Int( Gia_PtrAre_t n ) { Gia_PtrAreInt_t g = { n }; return g.iInt & 0x7fffffff; } +static inline unsigned Gia_Ptr2Int( Gia_PtrAre_t n ) { Gia_PtrAreInt_t g; g.iGia = n; return g.iInt & 0x7fffffff; } static inline int Gia_ObjHasBranch0( Gia_ObjAre_t * q ) { return !q->nStas0 && (q->F[0].nPage || q->F[0].nItem); } static inline int Gia_ObjHasBranch1( Gia_ObjAre_t * q ) { return !q->nStas1 && (q->F[1].nPage || q->F[1].nItem); } |