if ((maskA &= maskB) == 0) //<-- accidental assignment of maskA rather than just &'ing
maskA |= maskB; //<-- obviously, this is just maskA = maskB, not what he intended at all
But who knows, maybe the ultimate problem would have come from realizing the shift operator had a bug?

New Topic/Question
Reply




MultiQuote


|