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

看板DFBSD_commit作者時間21年前 (2005/03/22 06:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串16/20 (看更多)
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@britannica.bec.de> 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
文章代碼(AID): #12Fqje00 (DFBSD_commit)
討論串 (同標題文章)
文章代碼(AID): #12Fqje00 (DFBSD_commit)