Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!cartan!brahms!desj From: desj@brahms (David desJardins) Newsgroups: net.lang.c Subject: Re: Must casting destroy lvalueness? Message-ID: <144@cartan.Berkeley.EDU> Date: Wed, 29-Oct-86 20:15:04 EST Article-I.D.: cartan.144 Posted: Wed Oct 29 20:15:04 1986 Date-Received: Fri, 31-Oct-86 02:06:11 EST References: <4617@brl-smoke.ARPA> <657@dg_rtp.UUCP> <55@cartan.Berkeley.EDU> <4038@umcp-cs.UUCP> Sender: daemon@cartan.Berkeley.EDU Reply-To: desj@brahms (David desJardins) Organization: Math Dept. UC Berkeley Lines: 13 In article <4038@umcp-cs.UUCP> chris@umcp-cs.UUCP (Chris Torek) writes: >In article <55@cartan.Berkeley.EDU> desj@brahms (David desJardins) writes: >>... the point is that casts of pointers *don't* convert. > >Yes they do, and Wayne Throop has to know it: His machine does >indeed convert. `char *' is 48 bits; `int *' is 32 bits. DG >machines use word pointers, except when dealing with bytes. My apologies; I misspoke. What I meant to say is that casts of pointers refer to the same physical locations, although the representations of pointers of different types may be different. -- David desJardins