Today's link is thanks to
arwenn:
It's not the onion, unfortunatelyWe should've let the south secede. At least then we wouldn't have to put up with their idiocy screwing up politics for the rest of us. Be sure to take a look at the second place middle school division
(
Read more... )
Comments 2
Reply
The second has to do with *signed* or *unsigned* values. Since the bit field is marked as int (implying a signed value), setting the bit actually refers to -1, not 1. Thus, the comparison test should be against -1 or 0, because it will always fail against 1. Alternatively, the bit fields should be marked unsigned.
Reply
Leave a comment