From: "Filip Sielimowicz" Newsgroups: comp.os.msdos.djgpp Subject: Re: ILP32 - Fwd: Re: 16 bit buffer Date: Wed, 24 Jul 2002 09:43:27 +0200 Organization: ASK NorthPark http://www.npnet.org Lines: 17 Message-ID: References: <20020724052031 DOT 65847 DOT qmail AT web11305 DOT mail DOT yahoo DOT com> NNTP-Posting-Host: inthands2.hands.com.pl X-Trace: wulkan.npnet.org 1027496881 9559 213.195.166.210 (24 Jul 2002 07:48:01 GMT) X-Complaints-To: usenet AT npnet DOT org NNTP-Posting-Date: Wed, 24 Jul 2002 07:48:01 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > > The last one is a little funny since a pointer does not fit in a > > long any more, i.e., > > char *b = &foo; unsigned long a = (unsigned long)b; truncates. > > and size_t is a "long long" or "__int64". > > Does it make expressions like "if (!p)" not valid for pointers ? Is pointer converted to int or long long or there's no convertion - "if" operates on pointers "as they are" ? -- Filip Sielimowicz http://panda.bg.univ.gda.pl/~sielim ----