Re: [RFH] gcc constant expression warning...
- From
- Stephen Rothwell <sfr@canb.auug.org.au>
- Date
- Oct 29, 2007, 02:41 UTC
- Message-ID
- <20071029134135.ed72fe78.sfr@canb.auug.org.au>
- In-Reply-To
- <alpine.LFD.0.9999.0710282053590.22100@xanadu.home>
On Sun, 28 Oct 2007 20:55:32 -0400 (EDT) Nicolas Pitre <nico@cam.org> wrote:
> > The test must also make sure off_t isn't signed, since in that case it > can only hold 31 bits.
Posix says: "blkcnt_t and off_t shall be signed integer types."
-- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/