mirror of https://github.com/YosysHQ/abc.git
Merge pull request #303 from rocallahan/signed-lbool
Make `lbool` explicitly signed
This commit is contained in:
commit
6262dcffa9
|
|
@ -130,7 +130,9 @@ static inline void vecp_remove(vecp* v, void* e)
|
|||
typedef int lit;
|
||||
typedef int cla;
|
||||
|
||||
typedef char lbool;
|
||||
// Explicitly make it signed so promotion-to-int behavior doesn't vary
|
||||
// across platforms that define signedness of char differently.
|
||||
typedef signed char lbool;
|
||||
|
||||
static const int var_Undef = -1;
|
||||
static const lit lit_Undef = -2;
|
||||
|
|
|
|||
Loading…
Reference in New Issue