🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.c
Article #9682

Re: Must casting destroy lvalueness?

#9682
From: David desJardins
Date: Thu, 30 Oct 1986 01:15
13 lines
1270 bytes
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
Technical Details
Message-ID: <144@cartan.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!cartan!brahms!desj
References: <4617@brl-smoke.ARPA> <657@dg_rtp.UUCP> <55@cartan.Berkeley.EDU> <4038@umcp-cs.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!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