DragonFly BSD
DragonFly commits List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/lib/libc/sys tls.2


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Mon, 21 Mar 2005 23:03:49 +0100
Mail-followup-to: commits@crater.dragonflybsd.org

On Mon, Mar 21, 2005 at 01:45:53PM -0800, Chris Pressey wrote:
> On Mon, 21 Mar 2005 22:30:53 +0100
> Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx> wrote:
> 
> > On Mon, Mar 21, 2005 at 01:19:11PM -0800, Chris Pressey wrote:
> > > OK, then s/4294967296/2147483648/ and s/2147483648/1073741824/ :)
> > > 
> > > > Or think about sizeof(char[INT_MAX]) vs. sizeof(char[UINT_MAX]).
> > > 
> > > I have... I fail to see how it changes my point.
> > 
> > 2147483648 is not a signed int constant?
> 
> So 1073741824 should be forced to be unsigned too?  That doesn't make
> sense.

If you consider that sizeof() is intended to be a special function like
thingy, it makes sense.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]