Don't use signed one-bit bitfields.
We assign 0 and 1 to it, but since it's signed, that's actually already overflowing the poor thing. So make it unsigned, which is what it really was supposed to be in the first place.
Showing
Please register or sign in to comment