> (Shifting signed things is undefined. Bitwise operations are well-defined on signed types.)
I *was* talking about the shift, specifically (signed char / int) ReqMsg[i] >> 8;
And according to...
Type: Posts; User: zacs7
> (Shifting signed things is undefined. Bitwise operations are well-defined on signed types.)
I *was* talking about the shift, specifically (signed char / int) ReqMsg[i] >> 8;
And according to...
> Is the below possible?
No for the reason I mentioned above.
It should be an unsigned char since bitwise ops on signed types are undefined.