In article <20140323125252.gx20...@snowdrop.l8s.co.uk>,
David Laight  <da...@l8s.co.uk> wrote:
>
>For instance with:
>       for (int i = 0; i < sizeof foo; i++)
>it can't matter that the comparison is unsigned because 'i' can be
>assumed to be non-negative (even if 'sizeof foo' is greater than MAXINT).

But then you end up doing something with i, that is done in signed
context, while it would have been better done as unsinged.

christos

Reply via email to