Re: [2.4.23-pre3] Possible bug in fs/buffer.c
From: Alan Cox
Date: Mon Sep 08 2003 - 19:56:39 EST
On Llu, 2003-09-08 at 17:04, Andreas Schwab wrote:
> > Its not 100% reliable either 8).
>
> Could you please elaborate? Casting -1 to an unsigned type is guaranteed
> to yield the maximum value for that type, at least since C89, but I think
> even K&R C did get it right.
My error - its ~0 that is unreliable.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/