How come in the above cast "a" becomes ULONG_MAX or 0xffffffff? Since I amCode:char c = 0xff; unsigned int a; a = (unsigned int) c;
casting to unsigned, shouldn't it cast to 0x000000ff, or would I have to declare
c as unsigned char in order for that to happen?
thanks