This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

char value smaller than 0x00 comparison

Hi,

how is it possible to determine if a char value is smaller than 0x00?


char value=0xFE;

if((char)value < (char)0x00)
   printf("< 0\n");

Working with uvision mdk-arm I get always a warn-message "pointless comparison of unsigned integer with zero"

best regards
Hans-Peter