search for: rightshiftovr

Displaying 1 result from an estimated 1 matches for "rightshiftovr".

2003 Oct 14
1
Token.c appears to have a bug.
...ther seems to have been lost in the noise] I am basically down to one unresolved compilier diagnostic. The HP/COMPAQ/DEC C compiler is concerned about this line in TOKEN.C 4 22136 temp_byte = (char) n >> 8; ........................................1 %CC-I-RIGHTSHIFTOVR, (1) In this statement, the right shift count "8" is greater than or equal to the size of the unpromoted operand "(char)n". If I am interpreting this right, the value n is an integer, and is being cast to be a 8 bit size. And this results in all the higher bits bein...