4 ms·THIS^ Incidentally, would this bug have been flagged by a compiler warning?by Fr0styMatt 13y agoTHIS^ Incidentally, would this bug have been flagged by a compiler warning?72deluxe 13y agoI don't think so. The compiler would have no idea that 1 and 0 were not the 1 and 0 that the human was expecting, surely?chrisdone 13y agoIn C, no. Even an enum type in C can be compared with integers without any warnings.