Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!lll-winken!uunet!tektronix!orca!tekecs!frip!andrew From: andrew@frip.wv.tek.com (Andrew Klossner) Newsgroups: comp.arch Subject: C pointers in longs (was Re: looking for >32-bit address space) Message-ID: <11274@tekecs.GWD.TEK.COM> Date: 12 Apr 89 00:06:23 GMT References: <2569@elxsi.UUCP> <28200298@mcdurb> <1422@auspex.auspex.com> Sender: andrew@tekecs.GWD.TEK.COM Organization: Tektronix, Wilsonville, Oregon Lines: 11 [] "The (d)pANS has nuked the notion that you can stuff pointers into objects of any particular integral type ..." But an int must still accommodate the result of subtracting two pointers into the same array, so, if you're going to permit arrays of more than 2GB, you'll need wider ints. -=- Andrew Klossner (uunet!tektronix!orca!frip!andrew) [UUCP] (andrew%frip.wv.tek.com@relay.cs.net) [ARPA]