Article View: net.micro.mac
Article #73916 bit integers and pointer differences
From: Paul S. R. Chisholm
Date: Tue, 05 Mar 1985 03:16
Date: Tue, 05 Mar 1985 03:16
12 lines
1047 bytes
1047 bytes
<seen on a vegegtable crate: SQUASH, do not crush>
Yes, indeed, having 16 bit integers implies that the difference of
two pointers must be a long. At least, that's the way the AT&T 16
bit compiler handles it. (The 32 bit compiler's interpretation is
moot.)
My earlier comments about lint catching or not catching this still
apply.
--
-Paul S. R. Chisholm
...!{pegasus,cbosgd}!lzmi!psc The above opinions are my own,
...!{hocsj,ihnp4}!lznv!psc not necessarily anyone else's.
Technical Details
Message-ID:
<335@lzmi.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!decvax!harpo!whuxlm!whuxl!houxm!ahuta!pegasus!lzmi!pscShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site lzmi.UUCP Path: arc1-ca.pugleaf.net!utzoo!decvax!harpo!whuxlm!whuxl!houxm!ahuta!pegasus!lzmi!psc From: psc@lzmi.UUCP (Paul S. R. Chisholm) Newsgroups: net.micro.mac Subject: 16 bit integers and pointer differences Message-ID: <335@lzmi.UUCP> Date: Mon, 4-Mar-85 22:16:07 EST Article-I.D.: lzmi.335 Posted: Mon Mar 4 22:16:07 1985 Date-Received: Tue, 5-Mar-85 14:01:31 EST Distribution: na Organization: AT&T-IS Enhanced Network Services Lines: 12