From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22299 invoked by alias); 30 May 2014 02:22:41 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 22276 invoked by uid 89); 30 May 2014 02:22:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-pd0-f176.google.com Received: from mail-pd0-f176.google.com (HELO mail-pd0-f176.google.com) (209.85.192.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 30 May 2014 02:22:39 +0000 Received: by mail-pd0-f176.google.com with SMTP id p10so405392pdj.35 for ; Thu, 29 May 2014 19:22:37 -0700 (PDT) X-Received: by 10.68.197.39 with SMTP id ir7mr14406882pbc.78.1401416557688; Thu, 29 May 2014 19:22:37 -0700 (PDT) Received: from bubble.grove.modra.org ([101.166.26.37]) by mx.google.com with ESMTPSA id fk4sm11136168pab.23.2014.05.29.19.22.34 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 29 May 2014 19:22:37 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id EE48BEA3742; Fri, 30 May 2014 11:52:31 +0930 (CST) Date: Fri, 30 May 2014 02:22:00 -0000 From: Alan Modra To: Chen Gang , jan.kratochvil@redhat.com, drow@false.org, brobecker@gnat.com, muller@sourceware.org, palves@redhat.com, nickc@redhat.com, macro@linux-mips.org, binutils@sourceware.org Subject: Re: [PATCH] readline/util.c: use '%d' instead of 'ld' to avoid compiling warning Message-ID: <20140530022231.GU6679@bubble.grove.modra.org> Mail-Followup-To: Chen Gang , jan.kratochvil@redhat.com, drow@false.org, brobecker@gnat.com, muller@sourceware.org, palves@redhat.com, nickc@redhat.com, macro@linux-mips.org, binutils@sourceware.org References: <5387CCBD.7070203@gmail.com> <20140530021507.GT6679@bubble.grove.modra.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140530021507.GT6679@bubble.grove.modra.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00284.txt.bz2 On Fri, May 30, 2014 at 11:45:07AM +0930, Alan Modra wrote: > On Fri, May 30, 2014 at 08:11:41AM +0800, Chen Gang wrote: > > getpid() will return 'pid_t' which is always 'int', so need use '%d' > > instead of '%ld' in sprintf(). > > Please do not copy many lists and/or maintainers. This patch should > have gone just to gdb-patches@sourceware.org, since readline belongs > to the gdb project. Oops, maybe *I* should have read readline/README before sending my email. readline/README tells you the correct mailing list! -- Alan Modra Australia Development Lab, IBM