File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,9 @@ static inline void vecp_remove(vecp* v, void* e)
130
130
typedef int lit ;
131
131
typedef int cla ;
132
132
133
- typedef char lbool ;
133
+ // Explicitly make it signed so promotion-to-int behavior doesn't vary
134
+ // across platforms that define signedness of char differently.
135
+ typedef signed char lbool ;
134
136
135
137
// CryptoMinisat defines it's own var_Undef values.
136
138
// When it's included we prefer the ABC version instead.
Original file line number Diff line number Diff line change @@ -130,7 +130,9 @@ static inline void vecp_remove(vecp* v, void* e)
130
130
typedef int lit ;
131
131
typedef int cla ;
132
132
133
- typedef char lbool ;
133
+ // Explicitly make it signed so promotion-to-int behavior doesn't vary
134
+ // across platforms that define signedness of char differently.
135
+ typedef signed char lbool ;
134
136
135
137
// CryptoMinisat defines it's own var_Undef values.
136
138
// When it's included we prefer the ABC version instead.
You can’t perform that action at this time.
0 commit comments