From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 14098 invoked from network); 18 Jan 1999 09:10:06 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 18 Jan 1999 09:10:06 -0000 Received: from mea.tmt.tele.fi (mea.tmt.tele.fi [194.252.70.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id DAA12568 for ; Mon, 18 Jan 1999 03:45:33 -0500 Received: by mea.tmt.tele.fi id <92294-404>; Mon, 18 Jan 1999 10:45:05 +0200 Subject: Re: 64bit pointers? In-Reply-To: from Shing-Gene Yung at "Jan 18, 99 10:58:16 am" To: axp-list@redhat.com Date: Mon, 18 Jan 1999 10:45:05 +0200 (EET) From: Matti Aarnio Phone: +358-20402082 (office, with redirection to cellular) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <19990118084510Z92294-404+18@mea.tmt.tele.fi> Shing-Gene Yung asks: > > Hi, > What's the best way to convert 32-bit pointers to 64-bit? (to fix common > warnings abt pointer-int casts....) Use complete ANSI prototypes, then the *default* return type of the undeclared function (int) won't hurt you. To help hunting them, use these GCC options: -W -Wall -Wstrict-prototypes -Wmissing-prototypes > thanks, > --shing /Matti Aarnio