Comparison of UINT8 value < 256 is always true