Messages in this thread | ![/](/images/icornerl.gif) | | Subject | Re: [2.4.23-pre3] Possible bug in fs/buffer.c | From | Alan Cox <> | Date | Tue, 09 Sep 2003 01:53:56 +0100 |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |