From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 643 invoked from network); 3 Feb 1999 23:55:14 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 3 Feb 1999 23:55:14 -0000 Received: from voicenet.com (mail12.voicenet.com [207.103.0.6]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id SAA15150 for ; Wed, 3 Feb 1999 18:47:58 -0500 Received: (qmail 13960 invoked from network); 3 Feb 1999 23:47:57 -0000 Received: from rotary347-pri.voicenet.com (HELO voicenet.com) (209.71.54.47) by mail12.voicenet.com with SMTP; 3 Feb 1999 23:47:57 -0000 Sender: gat@mail.redhat.com Message-ID: <36B8DFAC.59B2FB48@voicenet.com> Date: Wed, 03 Feb 1999 18:45:48 -0500 From: Uncle George Organization: none X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.0.36 i686) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: So Y is my pointer so bogus References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit yup, in essence yes. It seems that the "unsigned int" screws up the arith. As i remem changing the ints ( without the unsigned) to long didn't help either!. Its just an interesting result, which leaves me wondering about all the rest of the java 1.2 code that may have these little 64bit gotcha's B. James Phillippe wrote: > I *think* I know what you're having problems with; I tried your sample code > and some other math and when I do a %p on just plain (int*) 0 - 1760; I got > a value of 0xffffffffffffe480 (which is expected), but your sample code > instead gave 0x7ffffe480. Seems the 64bit range didn't get assigned in the > version of your code. Is this what you were asking about? > > -