File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ static const unsigned int high_flip[56] = {
215
215
#define bbFlips_Right_low (pos , mask ) \
216
216
contig = right_contiguous[(opp_bits_low >> (pos + 1)) & mask]; \
217
217
fl = right_flip[contig] << (pos + 1); \
218
- t = -( int)(my_bits_low & fl) >> 31 ; \
218
+ t = ((int)(-(unsigned int)(my_bits_low & fl))) >> 31u ; \
219
219
my_bits_low |= fl & t; \
220
220
flipped = contig & t
221
221
#endif
@@ -775,7 +775,7 @@ static const unsigned int high_flip[56] = {
775
775
t &= (opp_bits_high >> (pos + vec * 3 - 32)); \
776
776
contig += t; \
777
777
fl = lsb_mask[contig] & mask; \
778
- t = -( int)(my_bits_high & fl) >> 31; \
778
+ t = ((int)(-(unsigned int)(my_bits_high & fl))) >> 31u; \
779
779
my_bits_high |= fl & t; \
780
780
flipped += contig & t; \
781
781
}
You can’t perform that action at this time.
0 commit comments