From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30424 invoked by alias); 3 Jul 2003 16:49:59 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 30412 invoked from network); 3 Jul 2003 16:49:59 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 3 Jul 2003 16:49:59 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h63GnwH28336 for ; Thu, 3 Jul 2003 12:49:58 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h63GnuS32366; Thu, 3 Jul 2003 12:49:56 -0400 Received: from dot.sfbay.redhat.com (dot.sfbay.redhat.com [172.16.24.7]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id h63GnuK22592; Thu, 3 Jul 2003 09:49:56 -0700 Received: (from rth@localhost) by dot.sfbay.redhat.com (8.11.6/8.11.6) id h63GntW25022; Thu, 3 Jul 2003 09:49:55 -0700 X-Authentication-Warning: dot.sfbay.redhat.com: rth set sender to rth@redhat.com using -f Date: Thu, 03 Jul 2003 16:49:00 -0000 From: Richard Henderson To: Elena Zannoni Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH/RFC] gag some compiler warnings Message-ID: <20030703164955.GE24985@redhat.com> References: <16132.24210.943200.572653@localhost.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16132.24210.943200.572653@localhost.redhat.com> User-Agent: Mutt/1.4i X-SW-Source: 2003-07/txt/msg00081.txt.bz2 On Thu, Jul 03, 2003 at 12:49:22PM -0400, Elena Zannoni wrote: > - (PTRACE_ARG3_TYPE) addr, 0); > + (PTRACE_ARG3_TYPE) (long) addr, 0); The Most Correct type is intptr_t, from . Except that's a C99 thing, and doesn't exist everywhere. You could do something with configure... Failing that, I think size_t is the best choice. r~