Skip to content

Commit

Permalink
Fix signed char - rocallahan
Browse files Browse the repository at this point in the history
  • Loading branch information
costamag committed Jul 11, 2024
1 parent 8b0175e commit 4c1dcd9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/bill/sat/solver/abc/satVec.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

// CryptoMinisat defines it's own var_Undef values.
// When it's included we prefer the ABC version instead.
Expand Down

0 comments on commit 4c1dcd9

Please sign in to comment.