How about declaring ints that are always positive as unsigned...
main()
{
unsigned b = 0;
long l;
l = b;
}
Agreed, sometimes lint is dead wrong. Sometimes I just comment the code
with something to the effect that lint will give the following bogus
message here.
__Moss__