Re: [PATCH] s390 (7/13): gcc 3.3 adaptions.

From: Jamie Lokier (jamie@shareable.org)
Date: Tue Feb 25 2003 - 07:25:08 EST


Chris Wedgwood wrote:
> On Mon, Feb 24, 2003 at 02:39:36PM -0800, Linus Torvalds wrote:
>
> > Claiming that you should index an array with a size_t is crap.
>
> it's broken in general; there is *lots* of code which does things like
> "foo[-1] = bar" (string parsers for example)

Yeah, the index should be ptrdiff_t :)

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 28 2003 - 22:00:27 EST