> so it seems clear that constants are treated as if unsigned, regardless, > but variables are not?
the really wierd bit is that the 1 in 1<<i suddenly becomes signed, even though other constants are treated as if unsigned, and i is unsigned. - erik
> so it seems clear that constants are treated as if unsigned, regardless, > but variables are not?
the really wierd bit is that the 1 in 1<<i suddenly becomes signed, even though other constants are treated as if unsigned, and i is unsigned. - erik