|
PC-lint/FlexeLint Output | Reference Manual Explanation | Home Page bug702.cpp
This program seems to be taking an inordinate amount of time. In fact it's still running :-}. What's the problem? bug702.cpp lint Output
--- Module: bug702.cpp
_
n >>= 1;
bug702.cpp(9) : Info 702: Shift right of signed quantity (int)
_
test( 0xFFFFFFFF );
bug702.cpp(20) : Warning 569: Loss of information (arg. no. 1)
(32 bits to 31 bits)
Reference Manual Explanation
702 Shift right of signed quantity (int) -- Shifts are
normally accomplished on unsigned operands. Shifting an
int right is machine dependent (sign fill vs. zero fill).
If you have comments or questions about this bug, please post them to our Discussion Forum |
Previous Bug - Bug #685 - August 2002